npm install seemingly broken on Windows 7
I'm unable to install the package on my Windows 7 box. Any ideas? Here is the npm-debug.log:
...
1013 verbose url resolved https://registry.npmjs.org/estraverse
1014 info trying registry request attempt 1 at 11:11:17
1015 verbose etag "59E22VNBV65YTR9JF0ASP28G0"
1016 http GET https://registry.npmjs.org/estraverse
1017 warn git config --get remote.origin.url returned wrong result (https://github.com/michaelficarra/CoffeeScriptRedux.git)
1018 silly gunzTarPerm extractEntry lib/report/json.js
1019 silly gunzTarPerm modified mode [ 'lib/report/json.js', 438, 420 ]
1020 silly gunzTarPerm extractEntry lib/report/lcov.js
1021 silly gunzTarPerm modified mode [ 'lib/report/lcov.js', 438, 420 ]
1022 error git clone https://github.com/michaelficarra/CoffeeScriptRedux.git
1023 silly lockFile 0413540b-aelficarra-CoffeeScriptRedux-git https://github.com/michaelficarra/CoffeeScriptRedux.git
1024 verbose about to build c:\a\node_modules\karma-coverage\node_modules\ibrik
1025 info c:\a\node_modules\karma-coverage\node_modules\ibrik unbuild
1026 info preuninstall [email protected]
1027 info uninstall [email protected]
1028 verbose false,c:\a\node_modules,c:\a\node_modules\karma-coverage\node_modules unbuild [email protected]
1029 verbose c:\a\node_modules\karma-coverage\node_modules.bin,[object Object] binRoot
1030 info postuninstall [email protected]
1031 silly gunzTarPerm extractEntry lib/report/html.js
1032 silly gunzTarPerm modified mode [ 'lib/report/html.js', 438, 420 ]
1033 silly gunzTarPerm extractEntry lib/report/none.js
1034 silly gunzTarPerm modified mode [ 'lib/report/none.js', 438, 420 ]
1035 silly gunzTarPerm extractEntry lib/report/teamcity.js
1036 silly gunzTarPerm modified mode [ 'lib/report/teamcity.js', 438, 420 ]
1037 silly gunzTarPerm extractEntry lib/report/text-summary.js
1038 silly gunzTarPerm modified mode [ 'lib/report/text-summary.js', 438, 420 ]
1039 silly gunzTarPerm extractEntry lib/report/text.js
1040 silly gunzTarPerm modified mode [ 'lib/report/text.js', 438, 420 ]
1041 silly gunzTarPerm extractEntry lib/report/lcovonly.js
1042 silly gunzTarPerm modified mode [ 'lib/report/lcovonly.js', 438, 420 ]
1043 silly gunzTarPerm extractEntry lib/report/templates/foot.txt
1044 silly gunzTarPerm modified mode [ 'lib/report/templates/foot.txt', 438, 420 ]
1045 silly gunzTarPerm extractEntry lib/report/templates/head.txt
1046 silly gunzTarPerm modified mode [ 'lib/report/templates/head.txt', 438, 420 ]
1047 silly gunzTarPerm extractEntry lib/store/fslookup.js
1048 silly gunzTarPerm modified mode [ 'lib/store/fslookup.js', 438, 420 ]
1049 silly gunzTarPerm extractEntry lib/store/index.js
1050 silly gunzTarPerm modified mode [ 'lib/store/index.js', 438, 420 ]
1051 verbose about to build c:\a\node_modules\karma-coverage
1052 info c:\a\node_modules\karma-coverage unbuild
1053 info preuninstall [email protected]
1054 info uninstall [email protected]
1055 silly gunzTarPerm extractEntry lib/store/memory.js
1056 silly gunzTarPerm modified mode [ 'lib/store/memory.js', 438, 420 ]
1057 silly gunzTarPerm extractEntry lib/store/tmp.js
1058 silly gunzTarPerm modified mode [ 'lib/store/tmp.js', 438, 420 ]
1059 verbose true,c:\a\node_modules,c:\a\node_modules unbuild [email protected]
1060 info postuninstall [email protected]
1061 silly gunzTarPerm extractEntry lib/util/factory.js
1062 silly gunzTarPerm modified mode [ 'lib/util/factory.js', 438, 420 ]
1063 silly gunzTarPerm extractEntry lib/util/file-writer.js
1064 silly gunzTarPerm modified mode [ 'lib/util/file-writer.js', 438, 420 ]
1065 error Error: ENOENT, lstat 'c:\a\node_modules\karma-coverage\node_modules\istanbul\lib\command\test.js'
1066 error If you need help, you may report this entire log,
1066 error including the npm and node versions, at:
1066 error http://github.com/isaacs/npm/issues
1067 error System Windows_NT 6.1.7601
1068 error command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
1069 error cwd c:\a
1070 error node -v v0.10.23
1071 error npm -v 1.3.17
1072 error path c:\a\node_modules\karma-coverage\node_modules\istanbul\lib\command\test.js
1073 error fstream_path c:\a\node_modules\karma-coverage\node_modules\istanbul\lib\command\test.js
1074 error fstream_type File
1075 error fstream_class FileWriter
1076 error code ENOENT
1077 error errno 34
1078 error fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
1078 error fstream_stack Object.oncomplete (fs.js:107:15)
1079 verbose exit [ 34, true ]
I should note that for line 1065, the .js file (test.js in this example) is frequently different.
I hope this is the correct place to post this, I'm able to npm install -g istanbul successfully so I don't think the problem is there.
Sorry if this is noise
Having the same issue
I ran into the same issue on our Windows Server 2008 build server. It appears that one of the modules karma-coverage depends on uses GitHub (a git repo to be exact) for the source instead of npm. You need to have git installed, and you need to it in your path so that it can be run from the Command Prompt. Once I had that installed this module installed without issues.
Guys, can you try this again? If it fails, can you please look into npm-debug.log to see which dependency is causing the problem? Because karma-coverage itself does not have any dependency with "git" protocol...
Closing due to inactivity