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 run article -- -r 报错 #2

Closed
gaobo07 opened this issue Jan 17, 2017 · 1 comment
Closed

npm run article -- -r 报错 #2

gaobo07 opened this issue Jan 17, 2017 · 1 comment

Comments

@gaobo07
Copy link

gaobo07 commented Jan 17, 2017

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'article',
1 verbose cli '--',
1 verbose cli '--help' ]
2 info using npm@2.15.1
3 info using node@v4.4.4
4 verbose run-script [ 'prearticle', 'article', 'postarticle' ]
5 info prearticle vue2.0-demo@1.0.0
6 info article vue2.0-demo@1.0.0
7 verbose unsafe-perm in lifecycle true
8 info vue2.0-demo@1.0.0 Failed to exec article script
9 verbose stack Error: vue2.0-demo@1.0.0 article: node build/new-article.js "--help"
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217: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. (C:\Program Files\nodejs\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 vue2.0-demo@1.0.0
11 verbose cwd C:\vue2
12 error Windows_NT 10.0.10586
13 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "article" "--" "--help"
14 error node v4.4.4
15 error npm v2.15.1
16 error code ELIFECYCLE
17 error vue2.0-demo@1.0.0 article: node build/new-article.js "--help"
17 error Exit status 1
18 error Failed at the vue2.0-demo@1.0.0 article script 'node build/new-article.js "--help"'.
18 error This is most likely a problem with the vue2.0-demo package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node build/new-article.js "--help"
18 error You can get information on how to open an issue for this project with:
18 error npm bugs vue2.0-demo
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls vue2.0-demo
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

@leenty
Copy link
Owner

leenty commented Jan 17, 2017

请问是什么系统?所有依赖都已经安装了吗?

@leenty leenty closed this as completed Mar 28, 2017
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