Mage Giving Error
Hey I am using wasp 0.13.0 and used mage to create the framework for a website I am making.
Ive tried it twice but it gave the same error both times when I try running it in local host with wasp start. What could be the issue? (I attached a picture of the page it shows me)
![No description](https://cdn.answeroverflow.com/1246198114872852621/Screenshot_2024-05-30_at_12.29.50_AM.png)
2 Replies
Hi @madhavan. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the information provided, it's hard to pinpoint the exact issue without more details. However, from the knowledge sources, it seems that Mage apps can sometimes have errors due to GPT. These errors could be related to file names or function names.
For instance, one common issue is related to the path provided in the
main.wasp
file. If the path to a page doesn't contain the pages/
part in it, it could lead to errors. You can check your page DashboardPage
or similar declaration and look for the component:
part. The path there needs to contain pages/
part in it, similar to how page LoginPage
and page SignupPage
have it source (https://github.com/wasp-lang/wasp/issues/1527).
If you're still facing issues, I would recommend asking for help on the Wasp Discord server. The community there is quite active and you can get help faster source (https://github.com/wasp-lang/wasp/issues/1527).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @madhavan, 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?So this is you openin a server! You will want to go to
localhost:3000
instead. Keep in mind Mage can easily make mistakes when producing a bit more complex app that you will have to fix manually -> it is made as an ideation tool / idea starter that you need dev experience to fix and continue working on.