在练习openlayers时,例如在Windows中安装了节点js,并试图运行命令
npm install -g parcel-bundler
但是正在解决问题
C:\Users\Name\Desktop\new-project>npm -g install parcel-bundler
Unhandled rejection Error: ENOENT: no such file or directory, rename 'C:\Users\Name\AppData\Roaming\npm-cache\_cacache\tmp\3091e5d1' -> 'C:\Users\Name\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\1b\fa\efb6cd68127275ae62
f5e43d10ebd2b80868c03e2c95d2f19cf9594064534d2f083be099ed184662a09cdbde8c28ed4282
977cdd63a0b2938c03a2b9fb26'
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Name\AppData\Roaming\npm-cache\_logs\2018-07-12T17_0
8_22_565Z-debug.log
如有遗漏,请提供详细信息 正在将以下版本用于节点js
C:\Users\Name\Desktop\new-project>node -v
v8.11.3
C:\Users\Name\Desktop\new-project>npm -v
5.6.0