问题

在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

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐