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

AWS Lambda is complaining Cannot find module '@resvg/resvg-js-linux-arm64-gnu' #310

Open
iDVB opened this issue Mar 7, 2024 · 1 comment

Comments

@iDVB
Copy link

iDVB commented Mar 7, 2024

Cannot find module '@resvg/resvg-js-linux-arm64-gnu'

Do we need to pass some kind of flag when NPM installs @resvg/resvg-js ?

@jenjen75
Copy link

try this when you build for lambda (arm architecture):

npm install --config.platform=linux --config.architecture=arm64v8

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