W
Waspβ€’9mo ago
Khalil

Is anyone else having issues with installing Wasp? I keep running into this issue:

Your wasp project failed to compile: ------------------------------- - npm install failed: Project setup failed with exit code 1. ❌ --- [Error] Compilation of wasp project failed: -------------------------------- 1 errors found
3 Replies
kapa.ai
kapa.aiβ€’9mo ago
Hi @Khalil. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Yes, there have been instances where users have faced issues with installing Wasp or getting it to compile. The error you're seeing typically indicates a problem with the npm installation or the project setup. Here are a few things you could try: 1. Check your Node.js version: Make sure you're using a version that's compatible with Wasp. For instance, one user reported an issue when trying to use Node.js v19.9.0, but Wasp required Node.js v18.12.0 at that time (source (https://github.com/wasp-lang/wasp/issues/1194)). 2. Try running wasp clean in your app directory and then wasp start. This command will remove all the old node_modules which might be causing the issue (source (https://discord.com/channels/686873244791210014/1195406663633608754)). 3. If you're on Windows, consider using Wasp with Windows Subsystem for Linux (WSL). There are known issues with Wasp on Windows, and using Wasp on WSL is currently the recommended approach (source (https://wasp-lang.dev/docs/quick-start#installation-1)). 4. If the issue persists, it might be helpful to provide more detailed logs or enable debug mode to get more information about the error. You can reach out to the Wasp community on Discord for further assistance (source (https://discord.com/channels/686873244791210014/1213593156646604820)). Remember, the specific solution may vary depending on your system configuration and the exact nature of the issue. ---------------------- 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?
miho
mihoβ€’9mo ago
The bot gave good advice and asked a good question πŸ™‚
Gonzo
Gonzoβ€’9mo ago
good solution to the problem πŸ‘
Want results from more Discord servers?
Add your server