我不知道为什么在创建角度项目时出现此错误
节点版本:-v10.16.0 Angular CLI版本:8.1.0
尝试npm cache clean --force命令=>它没有起作用 重新安装节点js和angular cli并再次安装=>无效
npm WARN tar invalid entry
npm WARN tar invalid entry
npm WARN tar invalid entry
npm WARN tar invalid entry
npm WARN tar invalid entry
npm WARN tar zlib: unexpected end of file
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\anchor.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\big.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\blink.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\bold.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\code-point-at.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\ends-with.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\fixed.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\fontcolor.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\fontsize.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\from-code-point.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\includes.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\italics.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\iterator.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\link.js'
npm WARN tar ENOENT: no such file or directory, open C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\match-all.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\match.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\pad-end.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\pad-start.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\raw.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\repeat.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\replace.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\search.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\small.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\split.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\starts-with.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\strike.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\sub.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\sup.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\trim-end.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\trim-left.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\trim-right.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\trim-start.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\core-js- feaec756\stable\string\trim.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\less- ff543e0f\test\less\modifyVars\extended.json'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\less- ff543e0f\test\less\modifyVars\extended.less'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\Aayush\Desktop\Angular\Angualar- demo\node_modules\.staging\fsevents-0e01736e\node_modules\abbrev' -> 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\abbrev- 308b8450'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\watchpack\node_modules\fsevents):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\Aayush\Desktop\Angular\Angualar- demo\node_modules\.staging\fsevents-86ed389a\node_modules\abbrev' -> 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\abbrev- 2069536b'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\karma\node_modules\fsevents):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\Aayush\Desktop\Angular\Angualar- demo\node_modules\.staging\fsevents-3d3d317c\node_modules\ansi-regex' -> 'C:\Users\Aayush\Desktop\Angular\Angualar-demo\node_modules\.staging\ansi-regex- 23ab2cf9'
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5
npm ERR! zlib: unexpected end of file
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Aayush\AppData\Roaming\npm-cache\_logs\2019-07- 10T14_12_35_015Z-debug.log
Package install failed, see above.