小编Fel*_*ker的帖子

纱线忽略代理设置

我尝试在Windows 10机器上使用yarn和react-native运行构建作业.以下命令在jenkins内部执行,以准备本机Windows应用程序的实际构建.

yarn config set proxy http://192.109.190.88:8080 
yarn config set https-proxy http://192.109.190.88:8080 
yarn add react-native 
Run Code Online (Sandbox Code Playgroud)

这会导致以下输出,尽管代理设置是正确的(尝试" http://192.109.190.88:8080/ "):

yarn add v0.27.5
[1/4] Resolving packages...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
Run Code Online (Sandbox Code Playgroud)

关于为什么会发生这种情况的任

jenkins react-native yarnpkg

8
推荐指数
2
解决办法
6253
查看次数

标签 统计

jenkins ×1

react-native ×1

yarnpkg ×1