0
내 개발 컴퓨터에 최신 안정 버전의 cordova를 설치하고 싶습니다.Windows에서 cordova 설치 중 오류가 발생했습니다.
그러나 설치가 실패했으며 업데이트가 필요한 minimatch에 대한 경고가 표시되었습니다. 그래서 3.10.6을 설치 한 npm v3으로 업데이트했습니다. 이제는 다른 오류가 발생하지만 여전히 minimatch에 대한 경고가 표시됩니다. 아무도 내가 뭘 잘못하고 있다고 말할 수 있습니까? npm v3이 최신 안정 릴리스입니까, 아니면 베타 버전을 설치할 수 있습니까?
내가 모두 NPM와 코르도바에 clean 명령을 시도하고 나는 모든 노드 모듈과 nodejs를 제거하고 빈 환경에서 시작$ npm install -g cordova
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
C:\Users\Acuity\AppData\Roaming\npm
`-- (empty)
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Acuity\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"
npm ERR! node v4.5.0
npm ERR! npm v3.10.6
npm ERR! path C:\Users\Acuity\AppData\Roaming\npm\node_modules\.staging\abbrev-a6a00b47
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\Acuity\AppData\Roaming\npm\node_modules\.staging\abbrev-a6a00b47' -> 'C:\Users\Acuity\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\abbrev'
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\Acuity\AppData\Roaming\npm\node_modules\.staging\abbrev-a6a00b47' -> 'C:\Users\Acuity\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\abbrev'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Acuity\npm-debug.log
npm ERR! code 1