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

Breaks when building with Angular 16 #981

Closed
jpike88 opened this issue Mar 30, 2023 · 0 comments · Fixed by #982
Closed

Breaks when building with Angular 16 #981

jpike88 opened this issue Mar 30, 2023 · 0 comments · Fixed by #982

Comments

@jpike88
Copy link
Contributor

jpike88 commented Mar 30, 2023

ANALYZE_FOR_ENTRY_COMPONENTS is deprecated since angular 9 and has been removed in angular 16. Please update this lib to handle angular 16, by first removing that variable from use.

Build error:
./node_modules/@uirouter/angular/fesm2020/uirouter-angular.mjs:1410:13-41 - Error: export 'ANALYZE_FOR_ENTRY_COMPONENTS' (imported as 'ANALYZE_FOR_ENTRY_COMPONENTS') was not found in '@angular/core' (possible exports: ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CSP_NONCE, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory, ComponentFactoryResolver, ComponentR.......

jpike88 added a commit to jpike88/angular that referenced this issue Mar 31, 2023
wawyed pushed a commit that referenced this issue Apr 13, 2023
* Update uiRouterNgModule.ts

fixes #981

* Update ci.yml

* Update uiView.ts

removed ReflectiveInjector as is deprecated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant