2017-02-09 9 views
0

Ich versuche, nuclide Paket in atom für die Entwicklung von react-native zu installieren. Ich bin mir nicht sicher, was der Grund für einen Fehler ist. Kann mir jemand vorschlagen, wie ich das lösen kann?Fehler: selbstsigniertes Zertifikat in Zertifikatskette in Nodejs

Vielen Dank im Voraus

npm ERR! fetch failed https://registry.npmjs.org/asap/-/asap-2.0.5.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/boom/-/boom-2.10.1.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/async-to-generator/-/async-to-generator-1.0.0.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/connect/-/connect-3.5.0.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
npm ERR! fetch failed https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz 
npm WARN retry will retry, error on last attempt: Error: self signed certificate in certificate chain 
+0

Vielleicht hat jemand/etwas (zB Proxy - entweder explizit oder anderweitig) ist MITM'ing Ihr Verkehr? Das aktuell von registry.npmjs.org verwendete Zertifikat sollte von GlobalSign Extended Validation ausgestellt worden sein. Besuchen Sie https://registry.npmjs.org in Ihrem Browser und überprüfen Sie den Zertifikatsaussteller von dort. – mscdex

Antwort

1

Sie direkt das Nuklid Paket klonen und installieren .hier alle Verfahren gezeigt. Führen Sie folgende Befehle im Terminal

# Clone the source 
$ git clone https://github.com/facebook/nuclide.git 
$ cd nuclide 
# Install dependencies 
$ npm install 
# Link the 'nuclide' package to Atom's package directory 
$ apm link 

Überprüfen Sie die Installation durch:

Open Atom. 
Go to Atom | Preferences. 
Click on Packages. 
Verify nuclide as one of the packages 

oder beziehen sich auf diese URL http://nuclide.io/docs/advanced-topics/building-from-source/#linux__building

+0

Dank @Shekar Tyari. Es funktionierte für mich –

+0

Happy Coding. :) –

Verwandte Themen