【发布时间】:2020-05-30 17:00:53
【问题描述】:
我将我的angular 8.x.x 项目迁移到angular 9.x.x,当我尝试发布我的库时,它失败并出现以下错误
npm 错误! @candiman/website@9.0.0 prepublishOnly:
node --eval "console.error('ERROR: Trying to publish a package that has been compiled by Ivy. This is not allowed.\nPlease delete and rebuild the package, without compiling with Ivy, before attempting to publish.\n')" && exit 1
angular 9有什么变化
【问题讨论】:
-
这能回答你的问题吗? How to compile a library without Ivy?
-
此问题与 Angular 9 迁移 @R.Richards 有关。另一个和正常有关,大部分人都会陷入这个问题,因为它会在迁移过程中弹出。
标签: angular angular-cli angular-library angular-cli-v9