What is the source location from where the npm ins

2019-07-16 02:18发布

I am trying to get the source location (URL) to which the command npm install is trying to connect and get the dependent packages to be downloaded, based on the package.json file and place it in the local box.

From the below mentioned url: http://www.tutorialspoint.com/nodejs/nodejs_npm.htm ,I came to know that it is trying to connect https://nodejs.org/en/

Can anyone tell me whether the above is correct or is there any other url that it is trying to connect and download the packages.

We have an environment that is restricted from internet access. In order to access few urls, I need to raise a request to allow access to certain urls based on the proxy rules.

标签: node.js npm
1条回答
劫难
2楼-- · 2019-07-16 02:51

registry = "https://registry.npmjs.org/"

This info can be found in the npm config.

查看更多
登录 后发表回答