gleero / grunt-favicons

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

Native code compile failed…Cannot find module './build/Release/shell' #56

Open nwtn opened 9 years ago

nwtn commented 9 years ago

While trying to install on OS X I get:

> execSync@1.0.2 install /Users/dnewton/Sites/gh/great/node_modules/grunt-favicons/node_modules/execSync
> node install.js

[execsync v1.0.2] Attempting to compile native extensions.
[execSync v1.0.2]
    Native code compile failed!!
grunt-favicons@0.6.4 node_modules/grunt-favicons
├── cheerio@0.12.4 (entities@0.5.0, underscore@1.4.4, cheerio-select@0.0.3, htmlparser2@3.1.4)
└── execSync@1.0.2 (temp@0.5.1)

…and when I try to run it anyway:

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

Aborted due to warnings.

See this related issue and possible solution: https://github.com/mgutz/execSync/issues/38

tiagoad commented 9 years ago

This plugin is no longer using execSync since e2e5885087415432337c034dfa741ed6a862a042, @gleero needs to bump the version number to fix this issue.

For now you can do npm install git+https://github.com/gleero/grunt-favicons.git