Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start unable to work #264

Open
tanchunboon opened this issue Aug 30, 2018 · 1 comment
Open

npm start unable to work #264

tanchunboon opened this issue Aug 30, 2018 · 1 comment

Comments

@tanchunboon
Copy link

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]
6 silly lifecycle [email protected]
prestart: no script for prestart, continuing
7 info lifecycle [email protected]start: [email protected]
8 verbose lifecycle [email protected]
start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]start: PATH: /usr/share/npm/bin/node-gyp-bin:/
home/ubuntu/openKB/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/u
sr/bin:/sbin:/bin:/snap/bin
10 verbose lifecycle [email protected]
start: CWD: /home/ubuntu/openKB
11 silly lifecycle [email protected]start: Args: [ '-c', 'node app.js' ]
12 info lifecycle [email protected]
start: Failed to exec start script
13 verbose stack Error: [email protected] start: node app.js
13 verbose stack spawn ENOENT
13 verbose stack at ChildProcess. (/usr/share/npm/lib/utils/spawn
.js:17:16)
13 verbose stack at emitTwo (events.js:87:13)
13 verbose stack at ChildProcess.emit (events.js:172:7)
13 verbose stack at maybeClose (internal/child_process.js:821:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_proc
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_proc
ess.js:211:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/ubuntu/openKB
16 error Linux 4.4.0-1065-aws
17 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
18 error node v4.2.6
19 error npm v3.5.2
20 error file sh
21 error code ELIFECYCLE
22 error errno ENOENT
23 error syscall spawn
24 error [email protected] start: node app.js
24 error spawn ENOENT
25 error Failed at the [email protected] start script 'node app.js'.
25 error Make sure you have the latest version of node.js and npm installed.
25 error If you do, this is most likely a problem with the openkb package,
25 error not with npm itself.
25 error Tell the author that this fails on your system:
25 error node app.js
25 error You can get information on how to open an issue for this project with:
25 error npm bugs openkb
25 error Or if that isn't available, you can get their info via:
25 error npm owner ls openkb
25 error There is likely additional logging output above.
26 verbose exit [ 1, true ]

@mrvautin
Copy link
Owner

Please try upgrade Node version. v4.x is very old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants