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

前端之家收集整理的这篇文章主要介绍了【Angular2】You seem to not be depending on “@angular/core”. This is an error前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

问题

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

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

解决

把node_modules删除,再重新安装

rimraf node_modules
cnpm install

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

原文链接:https://www.f2er.com/angularjs/145659.html

猜你在找的Angularjs相关文章