2017-04-11 89 views
-2

我已經安裝了nodejs。我想使用npm命令安裝expressjs。安裝時遇到一些錯誤。在nodejs中安裝express時出錯

的錯誤是:

D:\>cd expressfirstprogram 

D:\expressfirstprogram>npm install 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" "express" 
npm ERR! node v7.5.0 
npm ERR! npm v4.1.2 
npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY 

npm ERR! unable to get local issuer certificate 
npm ERR! 
npm ERR! If you need help, you may report this error at: 
npm ERR!  <https://github.com/npm/npm/issues> 

npm ERR! Please include the following file with any support request: 
npm ERR!  D:\expressfirstprogram\npm-debug.log 

D:\expressfirstprogram> 

你可以幫我解決這個問題呢?

+0

您是否注意到錯誤消息,告訴您連接被拒絕?如果是這樣,你做了什麼來確定是否是這種情況?我不是故意要苛刻或者任何事情,但是現在你給我們提供的信息,看起來你甚至沒有看到錯誤。 –

+0

我看到連接被拒絕,我不知道如何解決它..我禁用了代理並再次嘗試......但仍然存在錯誤。 – Aadhii

回答