Skip to content

Npm start " Error: Cannot find module './config.json' " #139

Description

zrzut ekranu 2019-01-27 o 22 02 47

Hi,
I have this issue. Just spend two hours on this, and can't figure it out.

This is from .log file

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@6.4.1
3 info using node@v10.15.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle snapkite-engine@0.1.2prestart: snapkite-engine@0.1.2
6 info lifecycle snapkite-engine@0.1.2
start: snapkite-engine@0.1.2
7 verbose lifecycle snapkite-engine@0.1.2start: unsafe-perm in lifecycle true
8 verbose lifecycle snapkite-engine@0.1.2
start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/adamkrukowski/Desktop/snapterest/snapkite-engine/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle snapkite-engine@0.1.2start: CWD: /Users/adamkrukowski/Desktop/snapterest/snapkite-engine
10 silly lifecycle snapkite-engine@0.1.2
start: Args: [ '-c', 'node app.js' ]
11 silly lifecycle snapkite-engine@0.1.2start: Returned: code: 1 signal: null
12 info lifecycle snapkite-engine@0.1.2
start: Failed to exec start script
13 verbose stack Error: snapkite-engine@0.1.2 start: node app.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:962:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid snapkite-engine@0.1.2
15 verbose cwd /Users/adamkrukowski/Desktop/snapterest/snapkite-engine
16 verbose Darwin 18.2.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v10.15.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error snapkite-engine@0.1.2 start: node app.js
22 error Exit status 1
23 error Failed at the snapkite-engine@0.1.2 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions