Answer the question
In order to leave comments, you need to log in
How to resolve npm SELF_SIGNED_CERT_IN_CHAIN error?
I'm trying to run the command npm install
to build this template , but nothing comes out. I've run about 3-4 different WP templates and never had a problem.
ED1337:FoundationPress edvins.antonovs$ npm install
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.6
npm ERR! npm v2.12.1
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! self signed certificate in certificate chain
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/npm-debug.log
npm install npm -g --ca=""
npm config set ca ""
npm update npm -g
npm config set ca ""
npm install npm -g
npm config delete ca
npm --ca=null --strict-ssl=false install
ED1337:FoundationPress edvins.antonovs$ npm --ca=null --strict-ssl=false install
> [email protected] postinstall /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/grunt-sass/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall
> [email protected] postinstall /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall
\
> [email protected] install /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/node-sass/vendor/darwin-x64-14/binding.node
> [email protected] install /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/grunt-sass/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/grunt-sass/node_modules/node-sass/vendor/darwin-x64-14/binding.node
> [email protected] postinstall /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/node-sass
> node scripts/build.js
` /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/node-sass/vendor/darwin-x64-14/binding.node ` exists.
testing binary.
Binary is fine; exiting.
> [email protected] postinstall /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/grunt-sass/node_modules/node-sass
> node scripts/build.js
` /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/node_modules/grunt-sass/node_modules/node-sass/vendor/darwin-x64-14/binding.node ` exists.
testing binary.
Binary is fine; exiting.
> [email protected] postinstall /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress
> bower install && grunt build
? May bower anonymously report usage statistics to improve the tool over time? No
bower foundation#* not-cached git://github.com/zurb/bower-foundation.git#*
bower foundation#* resolve git://github.com/zurb/bower-foundation.git#*
bower foundation#* download https://github.com/zurb/bower-foundation/archive/5.5.2.tar.gz
bower foundation#* retry Download of https://github.com/zurb/bower-foundation/archive/5.5.2.tar.gz failed with SELF_SIGNED_CERT_IN_CHAIN, trying with git..
bower foundation#* checkout 5.5.2
bower foundation#* resolved git://github.com/zurb/bower-foundation.git#5.5.2
bower fontawesome#~4.4.0SELF_SIGNED_CERT_IN_CHAIN Request to https://bower.herokuapp.com/packages/fontawesome failed: self signed certificate in certificate chain
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "--ca=null" "--strict-ssl=false" "install"
npm ERR! node v0.12.6
npm ERR! npm v2.12.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `bower install && grunt build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'bower install && grunt build'.
npm ERR! This is most likely a problem with the foundationpress package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install && grunt build
npm ERR! You can get their info via:
npm ERR! npm owner ls foundationpress
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Library/WebServer/Documents/Websites/wp-test/wp-content/themes/FoundationPress/npm-debug.log
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question