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

Does not install in windows #41

Open
dy opened this issue Apr 4, 2016 · 1 comment
Open

Does not install in windows #41

dy opened this issue Apr 4, 2016 · 1 comment

Comments

@dy
Copy link

dy commented Apr 4, 2016

Hi!
I try to install it in windows and get:

> [email protected] postinstall C:\Users\Reverse\AppData\Roaming\npm\node_modules\imageoptim
> npm run env-clear && npm run env-setup


> [email protected] env-clear C:\Users\Reverse\AppData\Roaming\npm\node_modules\imageoptim
> ./env/env-clear

'.' is not recognized as an internal or external command,
operable program or batch file.

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" "run
" "env-clear"
npm ERR! node v5.10.0
npm ERR! npm  v3.8.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] env-clear: `./env/env-clear`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] env-clear script './env/env-clear'.
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 imageoptim package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./env/env-clear
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs imageoptim
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls imageoptim
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Reverse\AppData\Roaming\npm\node_modules\imageoptim\npm-debug.log
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" "ins
tall" "-g" "imageoptim"
npm ERR! node v5.10.0
npm ERR! npm  v3.8.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `npm run env-clear && npm run env-setup`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'npm run env-clear && npm run env-setup'.
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 imageoptim package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run env-clear && npm run env-setup
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs imageoptim
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls imageoptim
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Reverse\projects\amazemontreal.com\compress_images\uploads\2016\03\npm-debug.log

C:\Users\Reverse\projects\amazemontreal.com\compress_images\uploads\2016\03>
@eGavr
Copy link
Collaborator

eGavr commented Apr 4, 2016

Sorry, Windows is not supported.

Works fine on Linux and OS X.

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