Installation of certificate in npm: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
(יצירת דף עם התוכן "<div lang="en" dir="ltr" class="mw-content-ltr"> <div lang="he" dir="rtl"> לעברית לחצו כאן </div> <small> ''NetF...") |
({{קישור לתצוגת קריאה}}) |
||
שורה 3: | שורה 3: | ||
לעברית [[התקנת תעודה ב npm|לחצו כאן]] | לעברית [[התקנת תעודה ב npm|לחצו כאן]] | ||
</div> | </div> | ||
+ | |||
+ | {{קישור אנגלית לתצוגת קריאה}} | ||
+ | |||
<small> | <small> | ||
''[[NetFriends |Home page]]'' > ''[[Security certificate]]'' > ''Installation of certificate in npm'' | ''[[NetFriends |Home page]]'' > ''[[Security certificate]]'' > ''Installation of certificate in npm'' |
גרסה מ־16:35, 12 בדצמבר 2018
לעברית לחצו כאן
To switch from edit view to read view
Home page > Security certificate > Installation of certificate in npm
Preferred option
Installation of certificate in all Node products
Second option
Download the certificate of your Provider of NetFree from here. http://netfree.link/netfree-ca.crt Save it on your computer where ypu want. (Ex: C:\netfree-ca.crt )
Then run the next command. Of course you should put the correct folder of the certificate in this place netfree-ca.crt
npm config set cafile "netfree-ca.crt"
It should work now.
To uninstall the certificate run this command. .
npm config delete cafile
Good luck.
Third option
You can disable the need for Security certificate, by setting npm to use with the http protocol.
Run the following command:
npm config set registry http://registry.npmjs.org