When I run
当我跑
npm install
What protocol and port does it use for fetching the node_modules folder files?
它用于获取node_modules文件夹文件的协议和端口是什么?
I didn't find an answer by searching here or on Google
我在这里或谷歌上搜索没有找到答案
1 个解决方案
#1
2
When npm installs you project dependencies, it does requests to its registry, which is at https://registry.npmjs.org, so, the answer to your question is HTTP and 443.
当npm安装项目依赖项时,它会向其注册表发出请求,该注册表位于https://registry.npmjs.org,因此,您的问题的答案是HTTP和443。
#1
2
When npm installs you project dependencies, it does requests to its registry, which is at https://registry.npmjs.org, so, the answer to your question is HTTP and 443.
当npm安装项目依赖项时,它会向其注册表发出请求,该注册表位于https://registry.npmjs.org,因此,您的问题的答案是HTTP和443。