Ich habe node.js bereits erfolgreich heruntergeladen. Beim Versuch, das Express-Modul herunterzuladen, erhalte ich Fehlermeldungen. Kann bitte jemand beraten?Ich kann Express Node JS nicht herunterladen
cmd Anzeige:
C:\testapps>npm install --save express
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "express"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect
npm ERR! Error: connect ECONNREFUSED 151.101.184.162:443
npm ERR! at Object.exports._errnoException (util.js:1020:11)
npm ERR! at exports._exceptionWithHostPort (util.js:1043:20)
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
npm ERR! { Error: connect ECONNREFUSED 151.101.184.162:443
npm ERR! at Object.exports._errnoException (util.js:1020:11)
npm ERR! at exports._exceptionWithHostPort (util.js:1043:20)
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
npm ERR! code: 'ECONNREFUSED',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! syscall: 'connect',
npm ERR! address: '151.101.184.162',
npm ERR! port: 443 }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! C:\testapps\npm-debug.log
Meine package.json Datei:
{
"name": "testapps",
"version": "1.0.0",
"private": true,
"description": "meraki test",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies":{
"express": "4.15.4"
}
}
Sie hinter einem Proxy? wenn ja, müssen Sie wie folgt konfigurieren: https://jjasonclark.com/how-to-setup-node-behind-web-proxy/ –
Antivirus-Software oder Firewall blockiert die Anfrage? – robertklep
installiere es mit npm install express --save oder sonst npm install -g express –