JsDaddy / ngx-mask

Angular Plugin to make masks on form fields and html elements.
https://jsdaddy.github.io/ngx-mask
MIT License
1.16k stars 300 forks source link

mask is not working #205

Closed KevinLira closed 6 years ago

KevinLira commented 6 years ago

After last push, the component stopped validating CPF as shown on https://jsdaddy.github.io/ngx-mask/ Version 6.3.8 works fine, Version 6.3.9 fails to validate mask="999.999.999-99"

as entering the fourth digit, the component fails to apply mask.

Alexandr98 commented 6 years ago

@KevinLira This mask means that you may type nothing in input. That's why it doesn't work. The following mask works: "099.099.099-09".

KevinLira commented 6 years ago

After updating from version 6.3.8, to 6.3.11 the following error appears,

Failed to compile.

./node_modules/ngx-mask/fesm5/ngx-mask.js Module build failed: Error: ENOENT: no such file or directory, open 'C:\Users\ksl\source\repos\proje1T\blabla\Angular6\node_modules\ngx-mask\fesm5\ngx-mask.js

Serge0111 commented 6 years ago

Hi @KevinLira, try to delete package-lock.json and reinstall node_modules.