W
Wasp-lang13mo ago
F3l1x

An error ocurred. Please refresh the page.

I have uploaded the todo app example and created a few applications using Mage GPT. All the applications I have tried give me an error. the todo app gives me An error ocurred. Please refresh the page. Any help would be appreciated !
No description
5 Replies
F3l1x
F3l1xOP13mo ago
FYI I have deployed the app on an Ubuntu server on Linode.
F3l1x
F3l1xOP13mo ago
this is the log of the terminal running the app
martinsos
martinsos13mo ago
Hm, so console output you have shared shows no errors! Just to be clear, this app you created with Mage, have you ran it locally on your dev machine with wasp start? What happens, this is when you get this error? Is there no more output in the console saying anything about the error? How about checking dev console in the browser (F12), do you have any error messages there? Keep in mind that Mage can introduce mistakes in the apps it produces -> the more complex the app, the more likely it is to introduce errors. Although, for simple apps like TodoAPp and My Plants, it often produces apps with no errors even.
F3l1x
F3l1xOP13mo ago
Hi @martinsos, Thanks for the reply. I have tried all types of apps even the simple todo app demo which i downloaded from the mage website. non of them I can get to work even locally with wasp start. Is there a tutorial on the server setup and requirements anywhere I could follow so I could spin up a new VPS and start from scratch to see if I can get for example even the todo app to deploy ? I have tried locally using visual studio code and I have tried on my ubuntu server on Linode, I also tried on riplet and have had no success with any. Thanks again !
martinsos
martinsos13mo ago
So we have quite extensive docs on how to run Wasp apps: https://wasp-lang.dev/docs . You might want to start from here to run your first, very simple app: https://wasp-lang.dev/docs/quick-start . I am not sure what do you mean when you say you tried locally with visual studio code, not what do you mean by spinning up a new VPS. What you need is to have a linux or macos system, and on that system you can simply install wasp binary, create new wasp app with wasp new and run that app with wasp start, per instructions above. The only requirement is that you have correct version of node installed and that you have wasp binary correctly set in PATH, but you will be informed/warned about that by installer and docs. Give that a try, and if there are any errors, let me know exact steps you did, OS you did it on, and node version!
Want results from more Discord servers?
Add your server