安裝包我安裝一個模塊(electron-window-manager
從它的Git倉庫安裝melanke-WatchJs
)和npm
崩潰,只能在我的Windows筆記本電腦10自從我的Windows 7電腦一切正常失敗。NPM安裝時通過github上
現在我注意到,每當我嘗試通過GIT中安裝模塊返回相同的錯誤:
npm ERR! git clone C:\Users\Malés\AppData\Roaming\npm-cache\_git-remotes\git-https-git-github-com-visionmedia-express-git-d7a03b88 C:\Users\MALS~1\AppData\Local\Temp\npm-14036-6a70847d\git-cache-3d25afee\fb3946f4549395b2f0d3a166ef74eb407d11549b:
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "git+https://[email protected]/visionmedia/express.git"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone C:\Users\Malés\AppData\Roaming\npm-cache\_git-remotes\git-https-git-github-com-visionmedia-express-git-d7a03b88 C:\Users\MALS~1\AppData\Local\Temp\npm-14036-6a70847d\git-cache-3d25afee\fb3946f4549395b2f0d3a166ef74eb407d11549b
npm ERR! "git-upload-pack 'C:\Users\Malés\AppData\Roaming\npm-cache\_git_remotes\git-https-git-github-com-visionmedia-express-git-d7a03b88'":git-upload-pack 'C:\Users\Malés\AppData\Roaming\npm-cache\_git-remotes\git-https-git-github-com-visionmedia-express-git-d7a03b88': No such file or directory
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
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! E:\Programming\Electron\MUVTIME_Electron\npm-debug.log
嘗試this並沒有解決我的問題。
我已經重新安裝的Git,爲最新的穩定版本升級的節點(v6.9.5包括NPM 3.10.10),跑在管理員模式下相同的命令,並沒有解決它。
請幫忙。
嘗試刪除所有緩存和運行NPM重新安裝。 – Baerree
已經嘗試過這一點。 –