question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular 15 publish failing

See original GitHub issue

Builds previously worked fine with Angular 14, but after upgrading to v15 I get the following build error when attempting to publish:

Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.
Most likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)

This does not happen when I build Storybook locally, only when publishing via Github Action.

✖ Encountered 19 build errors: failing with exit code 2 Pass --allow-console-errors to succeed this command regardless of runtime build errors. ℹ Review the errors at …

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
evtkcommented, Dec 7, 2022

@bmayen awesome, works! Thanks for the quick response.

0reactions
bmayencommented, Dec 7, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

angular 9 library publish error "Trying to publish a package ...
Fix for Angular 12+ missing component style issue ... "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package ...
Read more >
angular 10 library publish error “Trying to publish a package ...
I have created project and generate library with angular 10. But I can't set enableIvy to "true" build and publish my package. It...
Read more >
Update Angular to v15
For example, a class might be constructed without any of its constructor parameters. In v15, this is reported as a compilation error. New...
Read more >
Angular Project Publish Error at 92% #11326 | Support Center
I am getting below error when I run npm run publish command. The error always appears at 92% when it is processing Terser....
Read more >
How to Publish Angular with ASP.NET Core - Code Maze
If the check is successful it installs the NPM packages, otherwise, it spits out an error message. Let's try our code by deleting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found