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
After several trials, I found out that this is because I did not install VC++ tools when installing visual studio 2015. Just install the files below, then all is working out.
Hi all,
I got the error installing the npm karma. Here is a snap shot of the error log:
16040 silly lifecycle [email protected]
preinstall: no script for preinstall, continuinginstall: [email protected]16041 info linkStuff [email protected]
16042 silly linkStuff [email protected] has C:\Program Files\nodejs\node_modules\karma\node_modules as its parent node_modules
16043 verbose linkBins [email protected]
16044 verbose linkMans [email protected]
16045 verbose rebuildBundles [email protected]
16046 info lifecycle [email protected]
16047 verbose lifecycle [email protected]
install: unsafe-perm in lifecycle trueinstall: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Program Files\nodejs\node_modules\karma\node_modules\bufferutil\node_modules.bin;C:\Program Files\nodejs\node_modules\karma\node_modules.bin;C:\Program Files\nodejs\node_modules.bin;C:\python3.5\Scripts;C:\python3.5;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Users\Spencer.Shao.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\DTS\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;c:\Program Files\Microsoft SQL Server\100\Tools\Binn;c:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files\Java\jdk1.8.0_60\bin;C:\Program Files\Java\jdk1.8.0_60\jre\bin;E:/apache-ant-1.9.6/bin;C:\Program Files\nodejs;E:\Git\cmd;E:\android-sdk\platform-tools;E:\android-sdk\tools;C:\Users\Spencer.Shao\AppData\Local\Programs\Python\Python35-32;C:\Users\Spencer.Shao\AppData\Roaming\npm16048 verbose lifecycle [email protected]
16049 verbose lifecycle [email protected]
install: CWD: C:\Program Files\nodejs\node_modules\karma\node_modules\bufferutilinstall: Args: [ '/d /s /c', 'node-gyp rebuild' ]16050 silly lifecycle [email protected]
16051 silly lifecycle [email protected]
install: Returned: code: 1 signal: nullinstall: Failed to exec install script16052 info lifecycle [email protected]
16053 verbose unlock done using C:\Users\Spencer.Shao\AppData\Roaming\npm-cache_locks\staging-dfd8fbf9c1feea0f.lock for C:\Program Files\nodejs\node_modules.staging
16054 silly rollbackFailedOptional Starting
16055 silly rollbackFailedOptional Finishing
16056 silly runTopLevelLifecycles Starting
16057 silly runTopLevelLifecycles Finishing
16058 silly install printInstalled
16059 verbose stack Error: [email protected] install:
node-gyp rebuild
16059 verbose stack Exit status 1
16059 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:233:16)
16059 verbose stack at emitTwo (events.js:87:13)
16059 verbose stack at EventEmitter.emit (events.js:172:7)
16059 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
16059 verbose stack at emitTwo (events.js:87:13)
16059 verbose stack at ChildProcess.emit (events.js:172:7)
16059 verbose stack at maybeClose (internal/child_process.js:818:16)
16059 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
16060 verbose pkgid [email protected]
16061 verbose cwd C:
16062 error Windows_NT 10.0.10240
16063 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "karma"
16064 error node v4.1.2
16065 error npm v3.3.6
16066 error code ELIFECYCLE
16067 error [email protected] install:
node-gyp rebuild
16067 error Exit status 1
16068 error Failed at the [email protected] install script 'node-gyp rebuild'.
16068 error This is most likely a problem with the bufferutil package,
16068 error not with npm itself.
16068 error Tell the author that this fails on your system:
16068 error node-gyp rebuild
16068 error You can get their info via:
16068 error npm owner ls bufferutil
16068 error There is likely additional logging output above.
16069 verbose exit [ 1, true ]
I have tried to open the directory as said above, but I did not find the karma folder under the nodejs-->node_modules.
Any idea why this happens?
The text was updated successfully, but these errors were encountered: