grunt-bower-wordpress icon indicating copy to clipboard operation
grunt-bower-wordpress copied to clipboard

Console errors

Open sodacrackers opened this issue 10 years ago • 2 comments

Thanks for the great article and starting point - very useful! With npm I'm getting several fetch warnings. Could paths be updated or any dependencies dropped? Any easy fixes?

$ npm install npm ERR! fetch failed https://registry.npmjs.org/caseless/-/caseless-0.8.0.tgz npm ERR! fetch failed https://registry.npmjs.org/form-data/-/form-data-0.2.0.tgz npm ERR! fetch failed https://registry.npmjs.org/qs/-/qs-2.3.3.tgz npm ERR! fetch failed https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.5.0.tgz npm ERR! fetch failed https://registry.npmjs.org/form-data/-/form-data-0.2.0.tgz npm ERR! fetch failed https://registry.npmjs.org/qs/-/qs-2.3.3.tgz npm ERR! fetch failed https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.5.0.tgz npm ERR! fetch failed https://registry.npmjs.org/caseless/-/caseless-0.8.0.tgz npm ERR! fetch failed https://registry.npmjs.org/form-data/-/form-data-0.2.0.tgz npm ERR! fetch failed https://registry.npmjs.org/qs/-/qs-2.3.3.tgz npm ERR! fetch failed https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.5.0.tgz npm ERR! fetch failed https://registry.npmjs.org/caseless/-/caseless-0.8.0.tgz npm WARN optional dep failed, continuing [email protected] npm ERR! fetch failed https://registry.npmjs.org/commander/-/commander-2.0.0.tgz npm ERR! fetch failed https://registry.npmjs.org/commander/-/commander-2.0.0.tgz npm ERR! fetch failed https://registry.npmjs.org/commander/-/commander-2.0.0.tgz npm WARN optional dep failed, continuing [email protected]

[email protected] postinstall C:\www\caretrust.web.networksolutions\grunt-bower-wordpress bower install && ./node_modules/.bin/grunt build

bower jquery#1.11.* not-cached git://github.com/jquery/jquery.git#1.11.* bower jquery#1.11.* resolve git://github.com/jquery/jquery.git#1.11.* bower bootstrap#3.2.* cached git://github.com/twbs/bootstrap.git#3.2.0 bower bootstrap#3.2.* validate 3.2.0 against git://github.com/twbs/bootstrap.git#3.2.* bower font-awesome#4.1.* ENOTFOUND Request to https://bower.herokuapp.com/packages/font-awesome failed: getaddrinfo ENOTFOUND

npm ERR! [email protected] postinstall: bower install && ./node_modules/.bin/grunt build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is most likely a problem with the grunt-bower-wordpress package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! bower install && ./node_modules/.bin/grunt build npm ERR! You can get their info via: npm ERR! npm owner ls grunt-bower-wordpress npm ERR! There is likely additional logging output above. npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\www\caretrust.web.networksolutions\grunt-bower-wordpress npm ERR! node -v v0.10.32 npm ERR! npm -v 1.4.28 npm ERR! code ELIFECYCLE npm

sodacrackers avatar Dec 15 '14 21:12 sodacrackers

I also get this error. Can't seem to fix it either.

coffeeneed avatar Feb 28 '15 13:02 coffeeneed

@ponytrouble @coffeeneed Guys, sorry for the delay. I've tried to replicate this error, but I can't seem to recreate it -- though I'm on a Mac and not Windows. The error seems to be this:

bower font-awesome#4.1.* ENOTFOUND Request to https://bower.herokuapp.com/packages/font-awesome failed: getaddrinfo ENOTFOUND

The getaddrinfo error implies that it can't resolve https://bower.herokuapp.com for some reason. I'm not totally sure why that's happening... You could try opening up bower.json and changing the "font-awesome" version to something newer like 4.3.0?

I'll try to get a hold of a Window machine to test this out.

justinklemm avatar Mar 02 '15 00:03 justinklemm