Error with open-saas
I'm inside folder open-saas and I do wasp start to start the example and deploy it on local, but it's building another wasp app I have (and I just deleted) and starts also the deleted one
6 Replies
Hi @pollastrepiupiu. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It seems like you might be encountering an issue where remnants of a previously deleted Wasp app are still being referenced or used during the build process. This can happen if certain generated files or directories were not properly cleaned up after deletion.
Here are a few steps you can take to resolve this issue:
1. Clean the Project: Use the
wasp clean
command to delete all generated code, cached artifacts, and the node_modules
directory. This is akin to a "have you tried closing and opening it again?" approach and can help reset the environment.
2. Check for Residual Files: Ensure that there are no leftover files or directories from the deleted Wasp app in your project directory. Sometimes, manual deletion might leave behind hidden files or directories.
3. Rebuild the Project: After cleaning, try to rebuild your project from scratch to ensure that only the current app is being built.
4. Verify the .wasp
Directory: Check the .wasp
directory in your project root to ensure it doesn't contain any references to the deleted app. This directory holds configuration and build information.
If these steps do not resolve the issue, you might want to check if there are any specific errors or logs that could provide more insight into what is being referenced incorrectly. If the problem persists, consider reaching out to the Wasp community for further assistance.
For more detailed information, you can refer to the Wasp CLI documentation.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @pollastrepiupiu, 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?Could you share the exact commands you are running so this happens? π
Error has been fixed by rugging wasp start inside /open-saas/template/app
This sounds like you cloned the
open-saas
repo π I'd advise that you create your project with wasp new <name> -t saas
since that repository is just a "template" and we didn't really mean for anyone to clone it directly π Yeah, the app
folder contains the Wasp app, good thing you positioned yourself there.Exactly, I jus created a new project as you said. Thank you so much!
Wohooo @pollastrepiupiu, you just became a Waspeteer level 1!