oudkood
@oudkood
Дайджест специалист

Не могу понять в чём причина не запуска скрипта node?

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 'dev' ]
2 info using npm@5.6.0
3 info using node@v8.11.4
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle instalator-telegram@2.0.0~predev: instalator-telegram@2.0.0
6 info lifecycle instalator-telegram@2.0.0~dev: instalator-telegram@2.0.0
7 verbose lifecycle instalator-telegram@2.0.0~dev: unsafe-perm in lifecycle true
8 verbose lifecycle instalator-telegram@2.0.0~dev: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\instalator-telegram-master\node_modules\.bin;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\nodejs\;C:\Users\NikiRyhti\AppData\Roaming\npm
9 verbose lifecycle instalator-telegram@2.0.0~dev: CWD: C:\instalator-telegram-master
10 silly lifecycle instalator-telegram@2.0.0~dev: Args: [ '/d /s /c', 'DEV=true nodemon index.js' ]
11 silly lifecycle instalator-telegram@2.0.0~dev: Returned: code: 1 signal: null
12 info lifecycle instalator-telegram@2.0.0~dev: Failed to exec dev script
13 verbose stack Error: instalator-telegram@2.0.0 dev: `DEV=true nodemon index.js`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid instalator-telegram@2.0.0
15 verbose cwd C:\instalator-telegram-master
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
18 verbose node v8.11.4
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error instalator-telegram@2.0.0 dev: `DEV=true nodemon index.js`
22 error Exit status 1
23 error Failed at the instalator-telegram@2.0.0 dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
  • Вопрос задан
  • 400 просмотров
Пригласить эксперта
Ответы на вопрос 1
viogull
@viogull
Исследователь
Попробуйте удалить папку node_modules и потом npm install.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы