You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generator Throwing error when creating a sample npm module under windows 7 starter OS
C:\github\sample\12\node_modules\.bin\_mocha:2basedir=`dirname "$0"`^SyntaxError: UnexpectedtokenILLEGALatexports.runInThisContext(vm.js:73:16)atModule._compile(module.js:443:25)atModule._extensions..js(module.js:478:10)atObject.Module._extensions..js(C:\github\sample\12\node_modules\istanbul\
lib\hook.js:102:13)atModule.load(module.js:355:32)atFunction.Module._load(module.js:310:12)atFunction.Module.runMain(module.js:501:10)atrunFn(C:\github\sample\12\node_modules\istanbul\lib\command\common\run-with-cover.js:116:16)
at C:\github\sample\12\node_modules\istanbul\lib\command\common\run-with-cover.js:241:17
at C:\github\sample\12\node_modules\istanbul\lib\util\file-matcher.js:68:16npmERR!Testfailed.Seeaboveformoredetails.npmERR!Windows_NT6.1.7601npmERR!argv"C:\\Program Files\\nodejs\\\\node.exe""C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js""install"npmERR!nodev0.12.0npmERR!npmv2.5.1npmERR!codeELIFECYCLEnpmERR!teet@0.0.0prepublish: `npm test && npm prune`npmERR!Exitstatus1npmERR!npmERR!Failedattheteet@0.0.0prepublishscript'npm test && npm prune'.npmERR!Thisismostlikelyaproblemwiththeteetpackage,npmERR!notwithnpmitself.npmERR!Telltheauthorthatthisfailsonyoursystem:
npmERR!npmtest&&npmprunenpmERR!Youcangettheirinfovia:
npmERR!npmownerlsteetnpmERR!Thereislikelyadditionalloggingoutputabove.npmERR!Pleaseincludethefollowingfilewithanysupportrequest:
npmERR!C:\github\sample\12\npm-debug.log
npm-debug.log
12657 error Windows_NT 6.1.7601
12658 error argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\no
dejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
12659 error node v0.12.0
12660 error npm v2.5.1
12661 error code ELIFECYCLE
12662 error [email protected] prepublish: `npm test && npm prune`
12662 error Exit status 1
12663 error Failed at the [email protected] prepublish script 'npm test && npm prune'.
12663 error This is most likely a problem with the teet package,
12663 error not with npm itself.
12663 error Tell the author that this fails on your system:
12663 error npm test && npm prune
12663 error You can get their info via:
12663 error npm owner ls teet
12663 error There is likely additional logging output above.
12664 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered:
Generator Throwing error when creating a sample npm module under windows 7 starter OS
npm-debug.log
The text was updated successfully, but these errors were encountered: