我正在尝试安装Node.js的mysql驱动程序,但出现以下错误。
能有人来帮我吗?
提前感谢:)
C:\tmp\node>npm安装mysql
npm http GET http://registry.npmjs.org/mysql
npm http GET http://registry.npmjs.org/mysql
npm http GET http://registry.npmjs.org/mysql
npm ERR! network getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem
我想安装一个npm包,它显示了这个错误: npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.your-registry.npme.io/npmrc failed, reason: getaddrinfo ENOTFOUND registry.your-registry.npme.io
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In
我试图安装角cli,但它显示错误。错误是
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/@angular%2fcli failed, reason: getaddrinfo ENOTFOUND proxy.comviva.com proxy.comviva.com:8080
npm ERR! network This is a problem related to network connectivity.
npm ERR! netw
嘿,我安装了角形,等待了11个小时,然后互联网慢下来,我得到了一个错误。
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/resolve/-/resolve-
1.8.1.tgz failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org
registry.npmjs.org:443
npm ERR! network This is a problem related to n
在我的运行Ubuntu14.04的数字海洋服务器上安装节点套接字有困难,我的目标是通过遵循本教程的web套接字从树莓派流传输到我的web服务器
我在这里遵循了以下类似的问题,并通过了解决方案,但仍然没有用
更新nodejs和npm版本后遇到错误
npm ERR! network getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! netwo
我无法在运行在Raspberry Pi上的hassio上安装任何节点红色的模块(节点)。它以前起作用了,但现在不行了。我没有改变任何配置,虽然可能是节点红色的自动更新。当我试图安装时,我会得到以下错误:
npm info it worked if it ends with ok
npm info using npm@5.6.0
npm info using node@v10.0.0
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/nod
我无法安装create-react-app软件包,有什么问题吗?
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/create-react-app failed, reason: getaddrinfo ENOTFOUND proxyhost
npm ERR! network This is a problem related to network connectivity.
n
我试着在我的电脑上安装cordova。我得到了下面的错误。
> Your environment has been set up for using Node.js 0.12.0 (x64) and npm.
C:\Users\DELL>npm install -g cordova
npm WARN engine npm@1.4.28: wanted: {"node":">=0.8","npm":"1"} (current: {"node"
:"0.12.0
我试图在Centos8上安装一些带有npm的包,但是我遇到了这个问题: npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/ejs failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! network This is a problem related to network connectivity.
npm ERR
在将nodejs更新为最新版本后,在尝试运行npm install安装软件包时总是会出错:
npm WARN registry Using stale data from http://registry.npmjs.org/ because the host is inaccessible -- are you offline?
npm WARN registry Using stale package data from http://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code E
我下载了node.js,当我运行CLI命令npm install -g @angular/cli时,我得到了以下错误:
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to http://registry.npmjs.org/@angular%2fcli failed, reason: getaddrinfo ENOTFOUND proxy.example.com
npm ERR! network This is a problem related to network connectivity
for i in $( seq 1 $maxTry )
do
npm publish $package
if grep -q "npm ERR!" # if there are any NPM errors
then
if [ [grep -q "code ENOTFOUND" "publish log"] && [ ! $i -eq $maxTry ] ];
then
continue
else
break
fi
我想用$maxTry时间重试
我试图在全球范围内安装angular-cli,但是让这些errors.What来完成吗?
C:\Users\Jahidul>npm install -g angular-cli
npm WARN registry Using stale data from http://registry.npmjs.org/ because the h
ost is inaccessible -- are you offline?
npm WARN deprecated angular-cli@1.0.0-beta.28.3: angular-cli has been renamed to
@an
尝试使用npm在命令提示符中安装-g业力,在一个网络中禁用代理。我面临以下问题-
**
C:\Program Files\nodejs>npm install -g karma
npm ERR! network getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind
$ npm install -g bower
npm ERR! network getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! net
我被这一天弄得很心烦。给我最好的解决方案。
您的环境已设置为使用Node.js 0.10.38 (x64)和npm。
C:\Users\ASAR-KSS>npm install -g ionic
npm ERR! network getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you a
$ npm install -g less
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/less failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In m
node version :- v4.2.1
npm version :- 2.14.7
npm config get proxy: - null
npm config get https-proxy :- null
无法在mac el capitan上安装bower,ionic,cordova,任何东西,它只是说:
npm WARN Building the local index for the first time, please be patient
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" &