Skip to content

Linux "npm run init" 报错 #45

Open
@infinoxgit

Description

@infinoxgit

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 ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions