报错内容:

811 error path C:\Program Files (x86)\nodejs\npm_global\node_modules\@angular\cli\node_modules\ajv\node_modules\json-schema-traverse
812 error code ENOENT
813 error errno -4058
814 error syscall access
815 error enoent ENOENT: no such file or directory, access 'C:\Program Files (x86)\nodejs\npm_global\node_modules\@angular\cli\node_modules\ajv\node_modules\json-schema-traverse'
816 error enoent This is related to npm not being able to find a file.
817 verbose exit [ -4058, true ]

原因分析:

这是上一次安装的angular的文件没有清除干净。

处理办法:

删除C:\Program Files (x86)\nodejs\npm_global\node_modules\@angular目录和目录下的所有文件。

 

 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐