Search code examples
angularnpm-publish

I am trying to publish my angular library but its not working


I am trying to publish my angular package but it's not working for me I am getting this error.

enter image description here

my package.json file enter image description here


Solution

  • I guess you need to set "enableIvy": false in your tsconfig.lib.json file in angularCompilerOptions section.