Installing the Meteor Package behind the Firewall

How are packages such as npm-bcrypt and iron router installed? Do they use a special npm registry? I'm trying to use a meteor behind a corporate firewall (so all outgoing connections should go through a local HTTP proxy on port 8080). I can install npm packages because I can configure proxies in the .npmrc file and I can disable strict-ssl. However, it appears that the meteor is ignoring the npmrc file. Is there a way to disable ssl and install the package in a proxy?

=> Started proxy.
=> Errors prevented startup:

   While downloading npm-bcrypt@0.7.7...:
   error: SELF_SIGNED_CERT_IN_CHAIN

   While downloading iron:core@0.3.4...:
   error: SELF_SIGNED_CERT_IN_CHAIN

   While downloading iron:dynamic-template@0.4.1...:
   error: SELF_SIGNED_CERT_IN_CHAIN

   While downloading iron:router@0.9.4...:
   error: SELF_SIGNED_CERT_IN_CHAIN

   While downloading iron:layout@0.4.1...:
   error: SELF_SIGNED_CERT_IN_CHAIN

=> Your application has errors. Waiting for file change.
=> Started MongoDB.
+4
source share
2 answers

HTTP_PROXY HTTPS_PROXY, .

https://github.com/meteor/meteor/wiki/Using-Meteor-behind-a-proxy

:

Linux Mac OS X
HTTP_PROXY=http://user:password@1.2.3.4:5678 export
HTTPS_PROXY=http://user:password@1.2.3.4:5678 meteor update 
Windows
SET HTTP_PROXY=http://user:password@1.2.3.4:5678 SET
HTTPS_PROXY=http://user:password@1.2.3.4:5678 meteor update
+2
-1

Source: https://habr.com/ru/post/1569894/


All Articles