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

Support for Angular 12 #167

Closed
stephanabel opened this issue Jun 1, 2021 · 1 comment
Closed

Support for Angular 12 #167

stephanabel opened this issue Jun 1, 2021 · 1 comment

Comments

@stephanabel
Copy link

I'm submitting a ... (check one with "x")

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please check the repository for a similar issue or PR before submitting -->
[ ] Support request => <!-- Please check the repository for a similar issue or PR before submitting -->
[ x] Feature request
[ ] Documentation issue or request

Current behavior

Building the application fails with the following errors:

Error: node_modules/@ngx-config/core/config.module.d.ts:14:21 - error TS2694: Namespace '"****/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDefWithMeta'.

14 static ɵmod: i0.ɵɵNgModuleDefWithMeta<ConfigModule, [typeof i1.ConfigPipe], never, [typeof i1.ConfigPipe]>;
~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@ngx-config/core/config.pipe.d.ts:8:21 - error TS2694: Namespace '"****/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDef'.

8 static ɵfac: i0.ɵɵFactoryDef<ConfigPipe, never>;
~~~~~~~~~~~~

Error: node_modules/@ngx-config/core/config.pipe.d.ts:9:22 - error TS2694: Namespace '"****/node_modules/@angular/core/core"' has no exported member 'ɵɵPipeDefWithMeta'.

9 static ɵpipe: i0.ɵɵPipeDefWithMeta<ConfigPipe, "config">;
~~~~~~~~~~~~~~~~~

Error: node_modules/@ngx-config/core/config.pipe.d.ts:10:22 - error TS2724: '"****/node_modules/@angular/core/core"' has no exported member named 'ɵɵInjectableDef'. Did you mean 'ɵgetInjectableDef'?

10 static ɵprov: i0.ɵɵInjectableDef;
~~~~~~~~~~~~~~~

Error: node_modules/@ngx-config/core/config.service.d.ts:9:21 - error TS2694: Namespace '"****/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDef'.

9 static ɵfac: i0.ɵɵFactoryDef<ConfigService, never>;
~~~~~~~~~~~~

Error: node_modules/@ngx-config/core/config.service.d.ts:10:22 - error TS2724: '"****/node_modules/@angular/core/core"' has no exported member named 'ɵɵInjectableDef'. Did you mean 'ɵgetInjectableDef'?

10 static ɵprov: i0.ɵɵInjectableDef;
~~~~~~~~~~~~~~~

Expected/desired behavior

It compiles withour errors!

What is the motivation / use case for changing the behavior?

To be able to use ngx-config with the most recent angular version

Environment

  • Angular version: 12.0.2

For Tooling issues:

  • Node version: v14.17.0
  • Platform: Mac
  • Others:
@fulls1z3
Copy link
Owner

fulls1z3 commented Jul 8, 2021

see #169

@fulls1z3 fulls1z3 closed this as completed Jul 8, 2021
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

No branches or pull requests

2 participants