Hey everyone! I'm dealing with a puzzling issue while working on my web app's AWS deployment. The backend is in TypeScript, and I'm using Lambda Functions in a serverless setup with API Gateway as the REST endpoint and CDK for deployment.
This morning, when I tried to run `cdk synth`, I was hit with a strange error regarding the version "^2.45.2" of `supabase/supabase-js`. It's showing up as invalid, and I see a warning in the logs saying that `supabase/supabase-js` and its dependencies are "corrupted." I've double-checked the SHA-512 hashes in my `node_modules`, `package-lock.json`, and the version from npm, and they all match up perfectly, so corruption seems unlikely.
I'm wondering if this could stem from:
* Recent changes in how Lambda validates dependencies,
* A version mismatch between Lambda and Supabase,
* Or a problem with my local Docker setup (I'm using Docker Desktop on Mac).
Has anyone else run into this issue? Any suggestions on where I might start troubleshooting? Thanks in advance!
2 Answers
It might be a glitch in your Docker setup. If you've confirmed that all the hashes are correct, consider running the build in a clean Docker container to rule out any local issues.
Have you double-checked that the hashes are accurate? I once faced something similar where I accidentally modified my `package-lock.json` during a find and replace. It’s worth deleting it and regenerating to see if that helps!
Related Questions
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String