Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build on windows fail #12

Open
TolotraRam opened this issue Jun 7, 2016 · 2 comments
Open

Build on windows fail #12

TolotraRam opened this issue Jun 7, 2016 · 2 comments

Comments

@TolotraRam
Copy link

Hi,

jpeg-recompress-bin@3.0.1 postinstall C:\Program Files\nodejs\node_modules\jpeg-recompress-bin
node lib/install.js

internal/child_process.js:298
throw errnoException(err, 'spawn');
^

Error: spawn UNKNOWN
at exports._errnoException (util.js:837:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at exports.spawn (child_process.js:339:9)
at C:\Users\user\AppData\Roaming\nvm\v4.1.1\node_modules\jpeg-recompress-bin\node_modules\bin-check\index.j
s:22:12
at C:\Users\user\AppData\Roaming\nvm\v4.1.1\node_modules\jpeg-recompress-bin\node_modules\executable\index.
js:27:4
at FSReqWrap.oncomplete (fs.js:82:15)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli
.js" "install" "--global" "jpeg-recompress-bin"
npm ERR! node v4.1.1
npm ERR! npm v3.4.0
npm ERR! code ELIFECYCLE

npm ERR! jpeg-recompress-bin@3.0.1 postinstall: node lib/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jpeg-recompress-bin@3.0.1 postinstall script 'node lib/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the jpeg-recompress-bin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls jpeg-recompress-bin
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\wamp\www\report\npm-debug.log

@shinnn
Copy link
Contributor

shinnn commented Jun 7, 2016

Make sure you have the latest version of node.js and npm installed.

@TolotraRam
Copy link
Author

Hi,

Got the same issue, update node to 4.4.5 and npm to 3.9.6

λ npm install --global jpeg-recompress-bin
C:\Users\user\AppData\Roaming\npm\jpeg-recompress -> C:\Users\user\AppData\Roaming\npm\node_modules\jpeg-recompress-bin\cli.js

jpeg-recompress-bin@3.0.1 postinstall C:\Users\user\AppData\Roaming\npm\node_modules\jpeg-recompress-bin
node lib/install.js

internal/child_process.js:298
throw errnoException(err, 'spawn');
^

Error: spawn UNKNOWN
at exports._errnoException (util.js:870:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at exports.spawn (child_process.js:362:9)
at C:\Users\user\AppData\Roaming\npm\node_modules\jpeg-recompress-bin\node_modules\bin-check\index.js:22:12

at C:\Users\user\AppData\Roaming\npm\node_modules\jpeg-recompress-bin\node_modules\executable\index.js:27:4

at FSReqWrap.oncomplete (fs.js:82:15)

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\user\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--global" "jpeg-recompress-bin"
npm ERR! node v4.4.5
npm ERR! npm v3.9.6
npm ERR! code ELIFECYCLE

npm ERR! jpeg-recompress-bin@3.0.1 postinstall: node lib/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jpeg-recompress-bin@3.0.1 postinstall script 'node lib/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the jpeg-recompress-bin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs jpeg-recompress-bin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls jpeg-recompress-bin
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants