Closed Achilles1515 closed 1 year ago
This is exactly what we are seeing today as well.
We have important release and and I have the same issue. We are ruined....
We have important release and and I have the same issue. We are ruined....
Sorry about your release; everything will be okay though.
Until there is a fix:
If ngx-mask
is being used by a dependency of your app, then add this to your package.json:
"overrides": {
"ngx-mask@14.3.0": "14.2.4"
}
Otherwise, just edit the ngx-mask
version directly in your package.json dependencies
if it is included there.
@Achilles1515 @Alex18gr @bfrikken Thanks for using Ngx-mask. We have updated version 14 with all the fixes that were in version 16. But we didn't change documentation. Documentation will be updated soon, we apologize for the inconvenience The new version of how to use version 14.3.0 is below with stackblitz examples. import { NgxMaskDirective, NgxMaskPipe, provideNgxMask } from 'ngx-mask';
imports: [CommonModule, RouterModule, NgxMaskDirective, NgxMaskPipe], providers: [provideNgxMask()],
bootstrapApplication - https://stackblitz.com/edit/angular-14-demo-pwh413?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts,src%2Fmain.ts,src%2Froutes.ts
bootstrapModule - https://stackblitz.com/edit/angular-14-demo-adnanx?file=src%2Fapp%2Fapp.component.ts,src%2Fmain.ts,src%2Fapp%2Fapp.module.ts,src%2Fapp%2Fapp.component.html
@Achilles1515 @Alex18gr @bfrikken Thanks for using Ngx-mask. We have updated version 14 with all the fixes that were in version 16. But we didn't change documentation. Documentation will be updated soon, we apologize for the inconvenience The new version of how to use version 14.3.0 is below with stackblitz examples. import { NgxMaskDirective, NgxMaskPipe, provideNgxMask } from 'ngx-mask';
imports: [CommonModule, RouterModule, NgxMaskDirective, NgxMaskPipe], providers: [provideNgxMask()],
bootstrapApplication - https://stackblitz.com/edit/angular-14-demo-pwh413?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts,src%2Fmain.ts,src%2Froutes.ts
bootstrapModule - https://stackblitz.com/edit/angular-14-demo-adnanx?file=src%2Fapp%2Fapp.component.ts,src%2Fmain.ts,src%2Fapp%2Fapp.module.ts,src%2Fapp%2Fapp.component.html
Hello, I have the following error when I try to follow the steps in the stackblitz example
./node_modules/ngx-mask/fesm2022/ngx-mask.mjs:1670:9-33 - Error: export 'makeEnvironmentProviders' (imported as 'makeEnvironmentProviders') was not found in '@angular/core'
I am using "@angular/core": "^14.2.11"
.
Hello,
Thank you for sharing the Stackbliz projects. Although, it work fine on Stackbliz platform, but it complie failed on my local. I'm using Node.js v18.20 that give me an error.
@Achilles1515 @Alex18gr @bfrikken Please upgrade to version 14.3.2 , we have returned the modules. Everything should work as expected. It example - https://stackblitz.com/edit/angular-14-demo-jvp7px?file=src%2Fapp%2Fapp.component.ts,src%2Fmain.ts,src%2Fapp%2Fapp.module.ts,src%2Fapp%2Fapp.component.html
Can you test it on your projects and let us know if everything is ok?
@Achilles1515 @Alex18gr @bfrikken Thanks for using Ngx-mask. Closed because in the new version everything works as expected, if there are problems open a new issue.
Example build errors:
Looking at the ngx-mask/index.d.ts for 14.3.0, it looks like:
The previous v14 package, 14.2.4, looks like:
Clearly,
NgxMaskModule
is gone now. I'm assuming this is unintended as the README states: