I have npm installed just whenever I try to run the wasp project I come on this error code help!
[Server!] npm ERR! Invalid Version:
[Server!]
[Server!] npm ERR! A complete log of this run can be found in: /home/kuba/.npm/_logs/2023-10-25T23_58_57_340Z-debug-0.log
❌ --- [Error] Your wasp project failed to compile: -------------------------------
- npm install failed: Setup failed! Server setup failed with exit code 1.
❌ --- [Error] Compilation of wasp project failed: --------------------------------
1 errors found
6 Replies
Wohooo @Vinci, you just became a Waspeteer level 1!
Can you share your wasp file here?
MAGE - GPT Web App Generator ✨
Generate your full-stack React, Node.js and Prisma web app using the magic of GPT and the Wasp full-stack framework.
Hm yeah this looks quite weird! Please share as much info as you can:
Your OS, Your npm/node version, your wasp version, your wasp file, any more details about your project if possible.
OS: Linux
Node version: v18.18.2
Version: 0.11.6
i would appreciate if you could specify any other details you would need cos i am acually very new to this
No worries. Well this all looks reasonable hm. The problem is, that error you posted gives very little info, I have no idea what it could be about!
Could you share more console logs -> stuff that was written before it?
Could you share your Wasp project code (if it is open source), or if not, maybe at least Wasp file?
What if you just do
wasp new
, and try to run that completely new project with wasp start
, does that work for you?