Getting SDK build failures
I am getting SDK Build failures , I do not know what is the root cause nor how to fix it.
4 Replies
Hi @Navita. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Sorry @Navita, I am experiencing especially high traffic right now, please try again. :technologist:
I am getting SDK Build failures , I do not know what is the root cause nor how to fix it.
Hello Wasp team! I'm having issues with the OpenSaaS template and could use some help.
Setup:
- Wasp version: 0.15.2
- Node.js version: 18.19.1
- npm version: 9.2.0
- OS: Windows with WSL2
- Template: OpenSaaS
Error:
Getting consistent SDK build failures:
❌ --- [Error] Your wasp project failed to compile: -------------------------------
SDK build failed with exit code: 2
Initial error includes:
npm WARN EBADENGINE Unsupported engine {
package: '@lemonsqueezy/[email protected]',
required: { node: '>=20' },
current: { node: 'v18.19.1', npm: '9.2.0' }
}
Steps tried:
1. Clean installation of Wasp
2. Multiple attempts with wasp clean, rm -rf node_modules
3. Removing and recreating the project
4. Starting fresh database instances
5. Checking for conflicting processes
6. Verifying Docker container status
Current status:
- Project uses Stripe as payment processor
- Getting consistent SDK build failures
- No error details beyond exit code 2
Any guidance would be greatly appreciated! Let me know if you need any additional information.
Lemon Squeezy says
required: { node: '>=20' },
and you are using Node.js version: 18.19.1
?
Try upgrading your Node version to 20thank you miho