Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NG0908 in bootstrapModuleFactory #54659

Closed
sharsmita opened this issue Feb 29, 2024 · 5 comments
Closed

NG0908 in bootstrapModuleFactory #54659

sharsmita opened this issue Feb 29, 2024 · 5 comments

Comments

@sharsmita
Copy link

sharsmita commented Feb 29, 2024

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

Yes

Description

I'm getting an error in polyfill.js which has started suddenly on a running app. Need help urgently

Please provide a link to a minimal reproduction of the bug

Please provide the exception or error you saw

Illegal constructor
    at HTMLUnknownElement.<anonymous> (polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL:6:10847)
    at classList.js:196:14
    at 661 (classList.js:191:2)
    at a (bootstrap:19:1)
    at 5321 (polyfills.js:1:213)
    at a (bootstrap:19:1)
    at y (web-animations.min.js:15:47132)
    at web-animations.min.js:15:47132
    at n (jsonp chunk loading:34:1)
    at polyfills.js:1:63
(anonymous) @ polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL:6
(anonymous) @ classList.js:196
661 @ classList.js:191
a @ bootstrap:19
5321 @ polyfills.js:1
a @ bootstrap:19
y @ web-animations.min.js:15
(anonymous) @ web-animations.min.js:15
n @ jsonp chunk loading:34
(anonymous) @ polyfills.js:1
Show 7 more frames
Show less
Error: NG0908
    at new Zn (core.mjs:26110:19)
    at Sse (core.mjs:27203:16)
    at Pu.bootstrapModuleFactory (core.mjs:27066:24)
    at core.mjs:27127:41

Please provide the environment you discovered this bug in (run ng version)

@angular/animations": "16.1.5",
    "@angular/cdk": "^16.1.5",
    "@angular/common": "16.1.5",
    "@angular/compiler": "16.1.5",
    "@angular/compiler-cli": "16.1.5",
    "@angular/core": "16.1.5",
    "@angular/forms": "16.1.5",

node 18.17.1

Anything else?

No response

@JoostK
Copy link
Member

JoostK commented Feb 29, 2024

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular.

If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.

@JoostK JoostK closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
@JoostK
Copy link
Member

JoostK commented Feb 29, 2024

I don't have sufficient insight into what is going on here to provide meaningful suggestions. I'd recommend to set a debugger breakpoint at the location where it fails, which may reveal some more insight into what's happening.

@JeanMeche
Copy link
Member

It looks like you have an issue with the polyfill loaded by : https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL

@sharsmita
Copy link
Author

thanks, sorted

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants