v3.0.0-beta.5
, which will be released today or tomorrow. Keep an eye out here for the release, it's in review right now: https://github.com/reactioncommerce/reaction-admin/releases
49730 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
49730 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
49730 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
49730 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
49731 warn optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.8 (node_modules/dtrace-provider):
49732 warn optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.8 install: `node-gyp rebuild || node suppress-error.js`
49732 warn optional SKIPPING OPTIONAL DEPENDENCY: spawn sh ENOENT
49733 verbose optional SKIPPING OPTIONAL DEPENDENCY:
49733 verbose optional Failed at the dtrace-provider@0.8.8 install script.
49733 verbose optional SKIPPING OPTIONAL DEPENDENCY: This is probably not a problem with npm. There is likely additional logging output above.
49734 verbose stack Error: core-js@2.6.9 postinstall: `node scripts/postinstall || echo "ignore"`
49734 verbose stack spawn sh ENOENT
49734 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
49734 verbose stack at onErrorNT (internal/child_process.js:456:16)
49734 verbose stack at processTicksAndRejections (internal/process/task_queues.js:80:21)
49735 verbose pkgid core-js@2.6.9
49736 verbose cwd /usr/local/src/app
49737 verbose Linux 4.14.165-133.209.amzn2.x86_64
49738 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--no-audit"
49739 verbose node v12.14.0
49740 verbose npm v6.13.4
49741 error code ELIFECYCLE
49742 error syscall spawn sh
49743 error file sh
49744 error path sh
49745 error errno ENOENT
49746 error core-js@2.6.9 postinstall: `node scripts/postinstall || echo "ignore"`
49746 error spawn sh ENOENT
49747 error Failed at the core-js@2.6.9 postinstall script.
49747 error This is probably not a problem with npm. There is likely additional logging output above.
49748 verbose exit [ 1, true ]
--build
flag
@incapsulatesshamala Here is complete error stack
{
"errors": [
{
"message": "Access Denied",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"createProduct"
],
"extensions": {
"code": "FORBIDDEN",
"exception": {
"eventData": {},
"error": "access-denied",
"isClientSafe": true,
"reason": "Access Denied",
"details": {},
"stacktrace": [
"ReactionError: Access Denied",
" at Object.context.validatePermissions (file:///usr/local/src/app/src/core/util/buildContext.js:52:13)",
" at Object.createProduct (file:///usr/local/src/app/src/core-services/product/mutations/createProduct.js:24:17)",
" at createProduct (file:///usr/local/src/app/src/core-services/product/resolvers/Mutation/createProduct.js:21:43)",
" at field.resolve (/usr/local/src/app/node_modules/graphql-extensions/dist/index.js:133:26)",
" at resolveFieldValueOrError (/usr/local/src/app/node_modules/graphql/execution/execute.js:467:18)",
" at resolveField (/usr/local/src/app/node_modules/graphql/execution/execute.js:434:16)",
" at /usr/local/src/app/node_modules/graphql/execution/execute.js:244:18",
" at /usr/local/src/app/node_modules/graphql/jsutils/promiseReduce.js:23:10",
" at Array.reduce (<anonymous>)",
" at promiseReduce (/usr/local/src/app/node_modules/graphql/jsutils/promiseReduce.js:20:17)"
]
}
}
}
],
"data": null
}
yes it is
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ef86ec696434 reactioncommerce/admin:3.0.0-beta.5 "docker-entrypoint.s…" 6 minutes ago Up 5 minutes 0.0.0.0:4080->4080/tcp, 0.0.0.0:9231->9229/tcp reaction-admin_reaction-admin_1
c9237d3cec17 reactioncommerce/identity:3.0.0 "docker-entrypoint.s…" 18 hours ago Up 5 minutes 0.0.0.0:4100->4100/tcp reaction-identity_identity_1
d783b4daa651 reactioncommerce/example-storefront:3.0.0 "docker-entrypoint.s…" 19 hours ago Up 5 minutes 0.0.0.0:4000->4000/tcp example-storefront_web_1
01130c0a7793 reactioncommerce/reaction:3.0.0 "docker-entrypoint.s…" 19 hours ago Up 5 minutes 0.0.0.0:3000->3000/tcp reaction_api_1
a46a288ee669 mongo:4.2.0 "docker-entrypoint.s…" 19 hours ago Up 5 minutes 0.0.0.0:27017->27017/tcp reaction_mongo_1
441081dde269 oryd/hydra:v1.0.8 "hydra serve all --d…" 19 hours ago Up 5 minutes 0.0.0.0:4444-4445->4444-4445/tcp, 0.0.0.0:5555->5555/tcp reaction-hydra_hydra_1
65ff354ada04 postgres:10.3 "docker-entrypoint.s…" 19 hours ago Up 5 minutes 0.0.0.0:32772->5432/tcp reaction-hydra_postgres_1
@HarisSpahijaPon also my identity app not showing up at http://localhost:4100/
i dont see any errors, no network calls on load of http://localhost:4100/
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ef86ec696434 reactioncommerce/admin:3.0.0-beta.5 "docker-entrypoint.s…" 6 minutes ago Up 5 minutes 0.0.0.0:4080->4080/tcp, 0.0.0.0:9231->9229/tcp reaction-admin_reaction-admin_1 c9237d3cec17 reactioncommerce/identity:3.0.0 "docker-entrypoint.s…" 18 hours ago Up 5 minutes 0.0.0.0:4100->4100/tcp reaction-identity_identity_1 d783b4daa651 reactioncommerce/example-storefront:3.0.0 "docker-entrypoint.s…" 19 hours ago Up 5 minutes 0.0.0.0:4000->4000/tcp example-storefront_web_1 01130c0a7793 reactioncommerce/reaction:3.0.0 "docker-entrypoint.s…" 19 hours ago Up 5 minutes 0.0.0.0:3000->3000/tcp reaction_api_1 a46a288ee669 mongo:4.2.0 "docker-entrypoint.s…" 19 hours ago Up 5 minutes 0.0.0.0:27017->27017/tcp reaction_mongo_1 441081dde269 oryd/hydra:v1.0.8 "hydra serve all --d…" 19 hours ago Up 5 minutes 0.0.0.0:4444-4445->4444-4445/tcp, 0.0.0.0:5555->5555/tcp reaction-hydra_hydra_1 65ff354ada04 postgres:10.3 "docker-entrypoint.s…" 19 hours ago Up 5 minutes 0.0.0.0:32772->5432/tcp reaction-hydra_postgres_1
docker-compose up
all good here
reaction-identity_identity_1 is up-to-date
Attaching to reaction-identity_identity_1
identity_1 | Waiting for MongoDB...
identity_1 | MongoDB ready.
identity_1 | Waiting for MongoDB replica set...
identity_1 | MongoDB replica set ready.
identity_1 | 18:26:15.365Z INFO Reaction: Serving Reaction Identity at http://localhost:4100
identity_1 | Waiting for MongoDB...
identity_1 | MongoDB ready.
identity_1 | Waiting for MongoDB replica set...
identity_1 | MongoDB replica set ready.
identity_1 | 12:31:03.179Z INFO Reaction: Serving Reaction Identity at http://localhost:4100
yes when i open http://localhost:4100, i see this
`
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" class="__meteor-css__" href="/37e42b737262b860c4904c46dd85cf833511dc77.css?meteor_css_resource=true">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,600,700" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
</head>
<body><div id="react-root"><div class="jss1"><div class="jss2"></div></div></div>
<script type="text/javascript">meteor_runtime_config = JSON.parse(decodeURIComponent("%7B%22meteorRelease%22%3A%22METEOR%401.9%22%2C%22gitCommitHash%22%3A%22999098e1900b1d71ce2ec5f68f809d710b7f336c%22%2C%22meteorEnv%22%3A%7B%22NODE_ENV%22%3A%22production%22%2C%22TEST_METADATA%22%3A%22%7B%7D%22%7D%2C%22PUBLIC_SETTINGS%22%3A%7B%7D%2C%22ROOT_URL%22%3A%22http%3A%2F%2Flocalhost%3A4100%22%2C%22ROOT_URL_PATH_PREFIX%22%3A%22%22%2C%22isModern%22%3Atrue%7D"))</script>
<script type="text/javascript" src="/dd941fbe856beda43dc812683f609b928148a662.js?meteor_js_resource=true"></script>
</body>
</html>`
@HarisSpahijaPon looks like issue is in hydra
Could this help?
time="2020-02-12T17:47:05Z" level=error msg="Unable to connect to database, retrying..." error="could not ping SQL connection: dial tcp: lookup postgres.reaction.localhost on 127.0.0.11:53: no such host"
hydra_1 | time="2020-02-12T17:47:05Z" level=info msg="Retrying in 0.800000 seconds..."
hydra_1 | time="2020-02-12T17:47:06Z" level=info msg="Establishing connection with SQL database backend" dsn="postgres://*:*@postgres.reaction.localhost:5432/hydra?sslmode=disable"
hydra_1 | time="2020-02-12T17:47:06Z" level=error msg="Unable to ping SQL database backend" dsn="postgres://*:*@postgres.reaction.localhost:5432/hydra?sslmode=disable" error="dial tcp: lookup postgres.reaction.localhost on 127.0.0.11:53: no such host"