I've been running into the same issue with wasp start
What version of node should I install for starting a new saas project? I'm currently running 19.3.
3 Replies
Hi @Khalil. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
For running Wasp, you should install Node.js version 18 or higher. The current version of Wasp requires Node.js 18, but a future update will allow any Node version >= 18. This means that your current Node.js version 19.3 should work fine.
If you're still encountering issues, consider using
nvm
(Node Version Manager) to manage your Node.js versions. This allows you to easily switch between different versions of Node.js. You can install Node.js 18 with nvm
using the following commands:
After installing the correct Node.js version, you can start a new Wasp project with the command wasp new myproject
.
Sources:
- Github Issue: Upgrade Node version requirement to 20 (https://github.com/wasp-lang/wasp/issues/1618)
- Github Issue: Add .nvmrc
when generating a project with wasp new
(https://github.com/wasp-lang/wasp/issues/1013)
- Discord support thread: not working with Node 20.11.0 (https://discord.com/channels/686873244791210014/1197484972668375101)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Khalil, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?Bot is a bit wrong, you can use version 18 or higher! I recommend using 20
Btw odd node versions are unstable / experimental, so I wouldn't recommend using 19
Thank you! I’ll try this out