【发布时间】:2021-03-25 12:50:04
【问题描述】:
我在带有 NGRX 的 NX 工作区中使用 Angular,并希望在 Jenkins 中构建它,但在运行 npm install 后出现错误。
任何人在运行后都会看到这样的错误:
nx update && 然后npm run audit ??
npm ERR! code ELOCKVERIFY
npm ERR! Errors were found in your package-lock.json, run npm install to fix them.
npm ERR! Invalid: lock file's @ngrx/schematics@10.1.0 does not satisfy @ngrx/schematics@10.0.0
npm ERR! Invalid: lock file's @ngrx/store-devtools@10.1.0 does not satisfy @ngrx/store-devtools@10.0.0
实际应用运行良好 - 使用 nx serve
我想修复错误,以便运行我的 Jenkins 作业。 有什么建议吗?
【问题讨论】:
标签: angular npm ngrx package.json