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

Linux "npm run init" 报错 #45

Open
infinoxgit opened this issue Feb 6, 2018 · 0 comments
Open

Linux "npm run init" 报错 #45

infinoxgit opened this issue Feb 6, 2018 · 0 comments

Comments

@infinoxgit
Copy link

0 info it worked if it ends with ok
1 verbose cli [ '/root/.nvm/versions/node/v4.4.1/bin/node',
1 verbose cli '/root/.nvm/versions/node/v4.4.1/bin/npm',
1 verbose cli 'run',
1 verbose cli 'init' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preinit', 'init', 'postinit' ]
5 info preinit [email protected]
6 info init [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec init script
9 verbose stack Error: [email protected] init: ./init.sh
9 verbose stack Exit status 126
9 verbose stack at EventEmitter. (/root/.nvm/versions/node/v4.4.1/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (/root/.nvm/versions/node/v4.4.1/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:827:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid [email protected]
11 verbose cwd /home/talk-os
12 error Linux 2.6.32-504.el6.x86_64
13 error argv "/root/.nvm/versions/node/v4.4.1/bin/node" "/root/.nvm/versions/node/v4.4.1/bin/npm" "run" "init"
14 error node v4.4.1
15 error npm v2.14.20
16 error code ELIFECYCLE
17 error [email protected] init: ./init.sh
17 error Exit status 126
18 error Failed at the [email protected] init script './init.sh'.
18 error This is most likely a problem with the talk-os package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error ./init.sh
18 error You can get information on how to open an issue for this project with:
18 error npm bugs talk-os
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls talk-os
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

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

1 participant