Skip to content

Instantly share code, notes, and snippets.

@github99er
Created November 14, 2020 05:51
Show Gist options
  • Save github99er/fa48fc5f3b2199da20dd5bfb1232e66a to your computer and use it in GitHub Desktop.
Save github99er/fa48fc5f3b2199da20dd5bfb1232e66a to your computer and use it in GitHub Desktop.
0 info it worked if it ends with ok
1 verbose cli [
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 'start'
1 verbose cli ]
2 info using npm@6.14.5
3 info using node@v12.18.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle testVote@0.1.0~prestart: testVote@0.1.0
6 verbose lifecycle testVote@0.1.0~prestart: unsafe-perm in lifecycle true
7 verbose lifecycle testVote@0.1.0~prestart: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Owner\Desktop\nearTest\testVote\node_modules\.bin;C:\Users\Owner\Desktop\nearTest\testVote/node_modules/.bin:C:\Users\Owner\AppData\Local\Temp\yarn--1605326609672-0.6111112527941291;C:\Users\Owner\Desktop\nearTest\testVote\node_modules\.bin;C:\Users\Owner\AppData\Local\Yarn\Data\link\node_modules\.bin;C:\Program Files\libexec\lib\node_modules\npm\bin\node-gyp-bin;C:\Program Files\lib\node_modules\npm\bin\node-gyp-bin;C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Owner\bin;C:\Program Files\AdoptOpenJDK\jre-8.0.252.09-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Program Files (x86)\PuTTY;C:\Program Files (x86)\Yarn\bin;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\dotnet;C:\Python\Python38-32\Scripts;C:\Python\Python38-32;C:\Users\Owner\AppData\Local\Microsoft\WindowsApps;C:\Users\Owner\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Owner\AppData\Roaming\npm;C:\Users\Owner\AppData\Local\Yarn\bin;C:\Users\Owner\AppData\Local\Pandoc
8 verbose lifecycle testVote@0.1.0~prestart: CWD: C:\Users\Owner\Desktop\nearTest\testVote
9 silly lifecycle testVote@0.1.0~prestart: Args: [
9 silly lifecycle '/d /s /c',
9 silly lifecycle 'npm run build:contract:debug && npm run dev:deploy:contract'
9 silly lifecycle ]
10 silly lifecycle testVote@0.1.0~prestart: Returned: code: 1 signal: null
11 info lifecycle testVote@0.1.0~prestart: Failed to exec prestart script
12 verbose stack Error: testVote@0.1.0 prestart: `npm run build:contract:debug && npm run dev:deploy:contract`
12 verbose stack Exit status 1
12 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
12 verbose stack at EventEmitter.emit (events.js:315:20)
12 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
12 verbose stack at ChildProcess.emit (events.js:315:20)
12 verbose stack at maybeClose (internal/child_process.js:1021:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
13 verbose pkgid testVote@0.1.0
14 verbose cwd C:\Users\Owner\Desktop\nearTest\testVote
15 verbose Windows_NT 10.0.18363
16 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "start"
17 verbose node v12.18.1
18 verbose npm v6.14.5
19 error code ELIFECYCLE
20 error errno 1
21 error testVote@0.1.0 prestart: `npm run build:contract:debug && npm run dev:deploy:contract`
21 error Exit status 1
22 error Failed at the testVote@0.1.0 prestart script.
22 error This is probably not a problem with npm. There is likely additional logging output above.
23 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment