问题
今天jenkins打包一个项目,发现报错了
error An unexpected error occurred: "https://registry.nlark.com/xxxxxxxxxx.tgz: getaddrinfo ENOTFOUND registry.nlark.com".
先写解决方案
把yarn.lock文件里面的registry.nlark.com替换为registry.npmmirror.com
今天jenkins打包一个项目,发现报错了
error An unexpected error occurred: "https://registry.nlark.com/xxxxxxxxxx.tgz: getaddrinfo ENOTFOUND registry.nlark.com".
把yarn.lock文件里面的registry.nlark.com替换为registry.npmmirror.com