gleero / grunt-favicons

Generate favicon.ico and icons for iOS, Android and WP8
MIT License
233 stars 48 forks source link

running grunt-favicons task error #42

Open jvandenrym opened 9 years ago

jvandenrym commented 9 years ago

When running the grunt-favicons task I get this error in the terminal. It clearly misses a module. I am using the latest version of node.js: v0.11.13 (Ubuntu 14.04)

Loading "favicons.js" tasks...ERROR
>> Error: Cannot find module './build/Release/shell'
Warning: Task "favicons" not found. Use --force to continue
codyjames commented 9 years ago

Getting this as well.

GianlucaGuarini commented 9 years ago

The same error here node v0.10.32 on mac mavericks

GianlucaGuarini commented 9 years ago

In my case the issue was Xcode (recently updated). Steps to solve the problem:

  1. agree to the xcode license by opening it
  2. trigger again sudo npm install grunt-favicons --save-dev
codyjames commented 9 years ago

Doesn't work for me but going back to 0.6.1 does work for now.

lichtteil commented 9 years ago

Anyone could solve this?

davemac commented 9 years ago

Same issue, too.

node v0.12.0 on Yosemite 10.10.2

gesen commented 9 years ago

I'm running node v0.12.0/Yosemite 10.10.2 and has this problem as well.

viktorbijlenga commented 9 years ago

This method worked for me, but it's only a temporary fix. Would be great if the NPM package got an update with the latest commit. This problem is solved by this commit: https://github.com/gleero/grunt-favicons/commit/274e31af5ae3ea454189a87d3db7e7fe62952b02

  1. Download the repo as zip.
  2. Copy and replace the contents of the repo into the grunt-favicon folder inside your node_modules.
  3. cd into the folder in the terminal and run npm install to install all dependencies.
  4. Test if your grunt build process works ok.
  5. Be happy.
davemac commented 9 years ago

That works for now, thanks @viktorbijlenga

jrenggli commented 8 years ago

Had the same problem. New version 0.7.0 works for me.

"grunt-favicons": "~0.7.0"