在根据angular4官网的例子做时,安装完node.js和angular/cli后,进行新建项目 采用命令ng new my-app时,报如下错误
npm WARN tarball tarball data for @angular/compiler@^6.1.0 (sha1-arNchYT72hOmcI3
xS4sDzI+EmpQ=) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for typescript@~2.9.2 (sha1-HL9h0F1rliaSROtqO85L2R
Tg8Aw=) seems to be corrupted. Trying one more time.
npm ERR! path D:\angularworkspace\my-app\node_modules\.staging\typescript-ac3c26
90\lib\typingsInstaller.js
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'D:\angularworkspace\my-a
pp\node_modules\.staging\typescript-ac3c2690\lib\typingsInstaller.js'
npm ERR! { Error: EPERM: operation not permitted, unlink 'D:\angularworkspace\m
y-app\node_modules\.staging\typescript-ac3c2690\lib\typingsInstaller.js'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'D:\angularworkspace
\my-app\node_modules\.staging

最低0.47元/天 解锁文章
1890

被折叠的 条评论
为什么被折叠?



