错误信息如下,请问如何解决?
#34 89.86 npm ERR! code ENOTFOUND
#34 89.86 npm ERR! syscall getaddrinfo
#34 89.86 npm ERR! errno ENOTFOUND
#34 89.86 npm ERR! network request to https://registry.nlark.com/yocto-queue/download/yocto-queue-0.1.0.tgz failed, reason: getaddrinfo ENOTFOUND registry.nlark.com
#34 89.86 npm ERR! network This is a problem related to network connectivity.
在 package-lock.json 中将 registry.nlark.com
替换为 registry.npmmirror.com
解决了