Open marcoramzy opened 2 years ago
I'm also facing the same error, even 4.0.2 is not working. Only 3.0.4 works.
Can confirm. I have the same problem but with fesm2020
& Angular 13.0.0.
./node_modules/angular2-signaturepad/fesm2020/angular2-signaturepad.mjs:3:0-52 - Error: Module not found: Error: Can't resolve 'signature_pad' in '/app-path/node_modules/angular2-signaturepad/fesm2020'
Version 3.0.4 works as expected.
Edit: Never mind. I was using an older node version. It works with node version 16 nvm use 16
for me.
Same error on Angular 13.2.6
After upgrade to version
4.0.1
: there is a problem in the package itself (although removing (node_modules & cache)) cause to throw an error on serving the app ( Error during "npm start" ): https://www.screencast.com/t/Xa0HslDOD2yError details:
./node_modules/angular2-signaturepad/fesm2015/angular2-signaturepad.mjs:3:0-52 - Error: Module not found: Error: Can't resolve 'signature_pad' in '.\node_modules\angular2-signaturepad\fesm2015'
Note: I'm using Angular version
13.2.2
Current solution: Completed working with old version
3.0.4
(which is compatible with no errors) ..till this error is fixed in next releases!