Fel*_*ker 8 jenkins react-native yarnpkg
我尝试在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)
关于为什么会发生这种情况的任
纱线版本 2 需要不同的变量名称:
yarn config set httpProxy http://...
yarn config set httpsProxy http://...
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
6253 次 |
最近记录: |