App failed to start for reaction-platform


#1

Hi there,

I followed the official doc to install reaction-platform on my laptop, https://docs.reactioncommerce.com/docs/installation-reaction-platform. But can not start reaction-reaction-1 service successfully, always get errors, see below for detail:

npm WARN react-addons-test-utils@15.6.2 requires a peer of react-dom@^15.4.2 but none is installed. You must install peer dependencies yourself.

npm WARN react-taco-table@0.5.1 requires a peer of react@^15.3 but none is installed. You must install peer dependencies yourself.

npm WARN react-taco-table@0.5.1 requires a peer of react-dom@^15.3 but none is installed. You must install peer dependencies yourself.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

2018-10-14T13:38:58.051691800Z

up to date in 39.466s

MongoDB replica set initialized and ready.

Setting up plugin imports…

2018-10-14T13:39:01.959521700Z

Setting up style imports…

2018-10-14T13:39:02.184471700Z

Provisioning assets…

2018-10-14T13:39:02.261460400Z

[[[[[ /opt/reaction/src ]]]]]

2018-10-14T13:39:06.528014300Z

=> Started proxy.

=> Meteor 1.8 is available. Update this project with ‘meteor update’.

app/client/plugins.less: warn: There are some @import rules those are not taking effect as they are required to be in the beginning of the file.

Killed

{ Error: Command failed: meteor --raw-logs

at checkExecSyncError (child_process.js:601:13)

at execSync (child_process.js:641:13)

at _callee$ (/usr/local/lib/node_modules/reaction-cli/dist/commands/run.js:72:43)

at tryCatch (/usr/local/lib/node_modules/reaction-cli/node_modules/regenerator-runtime/runtime.js:65:40)

at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/reaction-cli/node_modules/regenerator-runtime/runtime.js:303:22)

at Generator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/reaction-cli/node_modules/regenerator-runtime/runtime.js:117:21)

at step (/usr/local/lib/node_modules/reaction-cli/dist/commands/run.js:98:191)

at /usr/local/lib/node_modules/reaction-cli/dist/commands/run.js:98:361

at <anonymous>

at process._tickCallback (internal/process/next_tick.js:188:7)

error: null,

cmd: ‘meteor --raw-logs’,

file: ‘/bin/sh’,

args: [ ‘/bin/sh’, ‘-c’, ‘meteor --raw-logs’ ],

options:

{ stdio: [ [Object], [Object], [Object] ],

 shell: true,

 file: '/bin/sh',

 args: [ '/bin/sh', '-c', 'meteor --raw-logs' ],

 envPairs: 

  [ 'TOOL_NODE_FLAGS=',

    'NODE_VERSION=8.11.3',

    'HOSTNAME=594590a43661',

    'METEOR_VERSION=1.7.0.3',

    'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/node/.meteor:/home/node/.meteor',

    'PWD=/opt/reaction/src',

    'MONGO_URL=mongodb://mongo:27017/reaction',

    'APP_BUNDLE_DIR=/opt/reaction/dist',

    'ROOT_URL=http://localhost:3000',

    'SHLVL=1',

    'HOME=/home/node',

    'YARN_VERSION=1.6.0',

    'REACTION_DOCKER_BUILD=true',

    'APP_SOURCE_DIR=/opt/reaction/src',

    'HYDRA_OAUTH2_INTROSPECT_URL=http://hydra:4445/oauth2/introspect',

    'HYDRA_ADMIN_URL=http://hydra:4445',

    'MONGO_OPLOG_URL=mongodb://mongo:27017/local',

    '_=/usr/local/bin/reaction' ],

 killSignal: undefined },

envPairs:

[ ‘TOOL_NODE_FLAGS=’,

 'NODE_VERSION=8.11.3',

 'HOSTNAME=594590a43661',

 'METEOR_VERSION=1.7.0.3',

 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/node/.meteor:/home/node/.meteor',

 'PWD=/opt/reaction/src',

 'MONGO_URL=mongodb://mongo:27017/reaction',

 'APP_BUNDLE_DIR=/opt/reaction/dist',

 'ROOT_URL=http://localhost:3000',

 'SHLVL=1',

 'HOME=/home/node',

 'YARN_VERSION=1.6.0',

 'REACTION_DOCKER_BUILD=true',

 'APP_SOURCE_DIR=/opt/reaction/src',

 'HYDRA_OAUTH2_INTROSPECT_URL=http://hydra:4445/oauth2/introspect',

 'HYDRA_ADMIN_URL=http://hydra:4445',

 'MONGO_OPLOG_URL=mongodb://mongo:27017/local',

 '_=/usr/local/bin/reaction' ],

stderr: null,

stdout: null,

pid: 76,

output: [ null, null, null ],

signal: null,

status: 137 }

2018-10-14T13:43:48.854008000Z

Error: App failed to start


#2

Hi,

Is your issue similar to this one https://github.com/reactioncommerce/reaction/issues/4745?


#3

Same problem. Have you solved that yet?