Closed caseymorrisus closed 9 years ago
I used this article and got it working, hope it helps. https://www.robertkehoe.com/2015/03/fix-node-gyp-rebuild-error-on-windows/
Unfortunately the original issue is solved, but I now run into an untar error. Running npm cache clean
does not fix the issue.
npm ERR! tar.unpack untar error C:\Users\Casey\AppData\Roaming\npm-cache\grunt-electron-in
staller\0.33.0\package.tgz
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "E:\\Programs\\nodejs\\\\node.exe" "E:\\Programs\\nodejs\\node_modules\\npm\
\bin\\npm-cli.js" "install" "--save-dev" "grunt-electron-installer"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! path C:\Users\Casey\ImageMinifier\node_modules\grunt-electron-installer\vendor\Se
tup.exe
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! enoent ENOENT, lstat 'C:\Users\Casey\ImageMinifier\node_modules\grunt-electron-in
staller\vendor\Setup.exe'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
This is a really outdated version of npm, would it be possible for you to upgrade to a newer version?
Nevermind, it looks like you did in your subsequent comment
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
This seems like an npm error since it is failing to unpack the library for some reason, I'd recommend reporting it against https://github.com/npm/npm/issues with the details of the log you are seeing.
Going to close this out here since it seems like it is outside of what this library controls since it is failing with untar error
.
Tried to install using
npm install --save-dev grunt-electron-installer
Windows 7.