npm WARN @angular-devkit/[email protected] requires a peer of @angular-devkit/[email protected] but none i

npm WARN @angular-devkit/[email protected] requires a peer of @angular-devkit/[email protected] but none is installed. You must install peer dependencies yourself.

npm WARN @schematics/[email protected] requires a peer of @angular-devkit/[email protected] but none is installed. You must install peer dependencies yourself.


angular-cli升级到最新版本:

npm uninstall -g angular-cli
$ npm install -g @angular/cli@latest

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

这个错误可忽略不计 ,不影响项目启动


你可能感兴趣的:(web前端技术,angular)