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

Error when run npm i #2

Closed
fer-ri opened this issue Jul 7, 2018 · 2 comments
Closed

Error when run npm i #2

fer-ri opened this issue Jul 7, 2018 · 2 comments

Comments

@fer-ri
Copy link

fer-ri commented Jul 7, 2018

Hi

Does anyone encounter this error when running npm i? has been tried with yarn but still no luck.

> mozjpeg@5.0.0 postinstall vmdash/node_modules/mozjpeg
> node lib/install.js

  ⚠ The `vmdash/node_modules/mozjpeg/vendor/cjpeg` binary doesn't seem to work correctly
  ⚠ mozjpeg pre-build test failed
  ℹ compiling from source
events.js:183
      throw er; // Unhandled 'error' event
@mohdalali
Copy link
Contributor

mohdalali commented Jul 7, 2018

This is probably due to an old version of npm or a cache error. Which npm version are you running?

Try running the following commands:

rm -rf node_modules
rm package-lock.json yarn.lock
npm cache clear --force
npm install

@fer-ri
Copy link
Author

fer-ri commented Jul 8, 2018

works for me 👍

Thanks

@fer-ri fer-ri closed this as completed Jul 8, 2018
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