You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
我环境有个很奇怪的问题:
1.请求
registry.npmjs.org
域名会指向本地回环地址:127.0.0.1
,我查看了hosts
文件和dns
都没有强制指向的记录;2.我修改
hosts
文件强制他指向正确的地址,但是任然无法正常访问。`root@81dc57629bdd:/ql $ curl -Lv https://registry.npmjs.org/pm2
curl: (35) Recv failure: Connection reset by peer
3.我发现我主机使用 IPv6 是能正常访问到这个域名的
https://registry.npmjs.org` 以及能正常请求服务,但是容器使用 IPv6 很麻烦。4.我确认了一下访问
https://registry.npmmirror.com
这个npm
源是能正常访问的,且我config.sh
力配置了Mirror="https://registry.npmmirror.com"
但是不生效,仍然会去请求https://registry.npmjs.org
这个域名,无法正常安装依赖。请帮助一下我~
Beta Was this translation helpful? Give feedback.
All reactions