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 'build' ] 2 info using npm@3.9.5 3 info using node@v6.2.2 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle layerJS@0.3.1~prebuild: layerJS@0.3.1 6 verbose lifecycle layerJS@0.3.1~prebuild: unsafe-perm in lifecycle true 7 verbose lifecycle layerJS@0.3.1~prebuild: PATH: C:\Users\userName\AppData\Roaming\nvm\v6.2.2\node_modules\npm\bin\node-gyp-bin;C:\Users\userName\Documents\layerJS-master\layerJS-master\node_modules\.bin;C:\Program Files\nodejs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Skype\Phone\;C:\Users\userName\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\userName\AppData\Roaming\npm;C:\Users\userName\AppData\Local\atom\bin;C:\Users\userName\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\userName\AppData\Local\Microsoft\WindowsApps; 8 verbose lifecycle layerJS@0.3.1~prebuild: CWD: C:\Users\userName\Documents\layerJS-master\layerJS-master 9 silly lifecycle layerJS@0.3.1~prebuild: Args: [ '/d /s /c', 'npm run clean && npm run test' ] 10 silly lifecycle layerJS@0.3.1~prebuild: Returned: code: 1 signal: null 11 info lifecycle layerJS@0.3.1~prebuild: Failed to exec prebuild script 12 verbose stack Error: layerJS@0.3.1 prebuild: `npm run clean && npm run test` 12 verbose stack Exit status 1 12 verbose stack at EventEmitter. (C:\Users\userName\AppData\Roaming\nvm\v6.2.2\node_modules\npm\lib\utils\lifecycle.js:245:16) 12 verbose stack at emitTwo (events.js:106:13) 12 verbose stack at EventEmitter.emit (events.js:191:7) 12 verbose stack at ChildProcess. (C:\Users\userName\AppData\Roaming\nvm\v6.2.2\node_modules\npm\lib\utils\spawn.js:24:14) 12 verbose stack at emitTwo (events.js:106:13) 12 verbose stack at ChildProcess.emit (events.js:191:7) 12 verbose stack at maybeClose (internal/child_process.js:852:16) 12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) 13 verbose pkgid layerJS@0.3.1 14 verbose cwd C:\Users\userName\Documents\layerJS-master\layerJS-master 15 error Windows_NT 10.0.14393 16 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build" 17 error node v6.2.2 18 error npm v3.9.5 19 error code ELIFECYCLE 20 error layerJS@0.3.1 prebuild: `npm run clean && npm run test` 20 error Exit status 1 21 error Failed at the layerJS@0.3.1 prebuild script 'npm run clean && npm run test'. 21 error Make sure you have the latest version of node.js and npm installed. 21 error If you do, this is most likely a problem with the layerJS package, 21 error not with npm itself. 21 error Tell the author that this fails on your system: 21 error npm run clean && npm run test 21 error You can get information on how to open an issue for this project with: 21 error npm bugs layerJS 21 error Or if that isn't available, you can get their info via: 21 error npm owner ls layerJS 21 error There is likely additional logging output above. 22 verbose exit [ 1, true ]