angular编译出错解决办法Angular Compiler was detected but it was an instance of the wrong class.
来源:互联网 发布:欧美衣服淘宝 编辑:程序博客网 时间:2024/06/05 17:37
出现如下错误:
Module build failed: Error: Angular Compiler was detected but it was an instance of the wrong class.This likely means you have several @ngtools/webpack packages installed. You can check this with `npm ls @ngtools/webpack`, and then remove the extra copies.
大致意思是,出现错误,原因可能是安装了几个不同版本的@ngtools/webpack包,你可以使用npm ls @ngtools/webpack命令来检查,然后删除多余的副本。
npm ls @ngtools/webpack
提示@ngtools/webpack@1.8.0版本是多于的,然后去目录下面把它删掉,问题解决。
阅读全文
0 0
- angular编译出错解决办法Angular Compiler was detected but it was an instance of the wrong class.
- Angular 中The “@angular/compiler-cli” package was not properly installed
- 升级XCode8编译报错:“Module file was created by an older version of the compiler”
- Angular4.0 启动项目时,报错:The “@angular/compiler-cli” package was not properly installed
- 错误代码: An instance 0xc346000 of class UITableView was deallocated while key value observers were stil
- An instance 0x15718ca00 of class UITableView was deallocated while key value observers were still re
- An ActiveRecord class (XXXXXXXXX) was used but the framework seems not properly initialized. Did you
- angular2项目下载后运行以及报错,The "@angular/compiler-cli" package was not properly installed
- identifier of an instance of was altered from to null
- identifier of an instance of XXX was altered from 75
- identifier of an instance of was altered from to null
- 用了Mj下拉刷新 An instance 0xca90200 of class UITableView was deallocated while key value observers were s
- 报错'An instance 0x7fb441883000 of class UITableView was deallocated while key value observers we 解决方法
- A cycle was detected in the build path of project
- A cycle was detected in the build path of project
- A cycle was detected in the build path of project
- A cycle was detected in the build path of project
- A cycle was detected in the build path of project
- Item 3:尽可能使用const【effective C++读书笔记】
- java_01.1
- ligerUI框架怎样调节文本框下拉框宽度高度等属性
- 称雄中国政务云?那一定是个“狠角色”
- 散装食品的经营之道,从哪方面入手?
- angular编译出错解决办法Angular Compiler was detected but it was an instance of the wrong class.
- 欢迎使用CSDN-markdown编辑器
- 网易2017春招编程题:分饼干 [python]
- JS设置和读取Cookie的函数
- git安装及配置
- TensorFlow Serving 中的最新创新
- eclipse在window环境下配置hadoop插件
- SQL查询中in和exists的区别分析
- Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds....