Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Error: Module not found: Error: Can't resolve 'signature_pad' (v4.0.1 with Angular v13 Error) #129

Open
marcoramzy opened this issue Mar 9, 2022 · 3 comments

Comments

@marcoramzy
Copy link

marcoramzy commented Mar 9, 2022

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/Xa0HslDOD2y

Error 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!

@razarahil
Copy link

I'm also facing the same error, even 4.0.2 is not working. Only 3.0.4 works.

@JensUweB
Copy link

JensUweB commented Mar 16, 2022

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.

@leo00723
Copy link

Same error on Angular 13.2.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants