전자 메일을 우분투 16.04에 설치하려고합니다. 이미 nodejs와 npm이 작동하고 있습니다. 하지만 갑자기 나는 유형에 따라 모듈을 설치할 수 없습니다입니다 : sudo는 NPM 설치 전자 아래 npm에서 전자를 설치할 수 없습니다
는 응답이 점점 오전된다 이npm WARN registry Unexpected warning for https://registry.npmjs.org/:
Miscellaneous Warning EAI_AGAIN: request to
https://registry.npmjs.org/electron failed, reason: getaddrinfo
EAI_AGAIN registry.npmjs.org:443
npm WARN registry Using stale package data from
https://registry.npmjs.org/ due to a request error during
revalidation.
> [email protected] postinstall
/home/arthur/Documents/Programming/Electron/node_modules/electron
> node install.js
`/home/arthur/Documents/Programming/Electron/node_modules/electron/
install.js:48
던져 문제가 관련이 ^
Error: read ECONNRESET
at _errnoException (util.js:1024:11)
at TLSWrap.onread (net.js:615:25)
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/arthur/.npm/_logs/2017-12-19T10_25_52_312Z-
debug.log
'npm install'을 사용하여 패키지를 설치하는 데 이미 성공 했습니까? 아니면 처음 시도입니까? – edkeveked
예, 처음에는 지금까지 할 수있었습니다. – artie
사용중인 npm의 버전은 무엇입니까? – edkeveked