【Angular2】You seem to not be depending on “@angular/core”. This is an error

来源:互联网 发布:圆形玻璃定制淘宝 编辑:程序博客网 时间:2024/05/16 02:54

问题

在jenkins构建中出现这个问题,但是本地运行正常

You seem to not be depending on “@angular/core”. This is an error

解决

把node_modules删除,再重新安装

rimraf node_modulescnpm install

 

参考:
https://stackoverflow.com/questions/41534459/you-seem-to-not-be-depending-on-angular-core-this-is-an-error

阅读全文
0 0
原创粉丝点击