Пытаюсь запустить команду
npm install
, чтобы тот собрать
этот шаблон, но ничего не выходит. Я запустил порядком 3-4 разных WP шаблонов и никогда не было проблем.
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
> spawn-sync@1.0.13 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
> spawn-sync@1.0.13 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
\
> node-sass@3.3.3 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
> node-sass@3.4.0-beta1 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
> node-sass@3.3.3 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.
> node-sass@3.4.0-beta1 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.
> foundationpress@1.5.0 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! foundationpress@1.5.0 postinstall: `bower install && grunt build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the foundationpress@1.5.0 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