Having Trouble Running MageGPT - BEGINNER

Hi, I stumbled upon the concept of ai agents and then found out about MageAI thanks to Matthew Berman's Youtube channel when trying to figure out the ai agents thing. I really appreciate that the entire MageAI and Wasp I believe are open sourced. I want to learn how to utilize your MageAI to run my app ideas into the browser and one day, actual apps. I was hoping you could provide a step-by-step tutorial on how to use MageAI from start to finish using Windows including the fact that I ended up needing Ubuntu, Terminal Preview, Visual Studio Code, WSL and a bunch of other stuff like npt and prisma before I could even run locally successfully. I ended up spending hours on ChatGPT 4 Advanced Data Analysis throwing it issue after issue to resolve this. Anyhow, I then got to running it after doing wasp start, learned about wasp clear, and after I 'sign up' on the webpage it goes to a blank page called http://localhost:3000/. At the same time, I am not sure if selecting the creativity level as conventional is what was causing the error, then it said something about how in the code wasp was supposed to put {userWords && userWords.map((word) => ( <Link to={/word/${word.id}} key={word.id} className="word-circle"> {word.word} </Link> ))} instead of without the 'userWords &&' within those brackets which might be causing it to create a variabless variable on the F12 screen in Chrome. ChatGPT: Overall, the code looks well-organized and makes good use of Wasp's features. Just consider adding a null check for userWords to avoid potential errors. I would also like the steps to add the zip file to the ubuntu directory to use for wasp as it won't check for windows files. Also, how to make the files un-read-only so I can edit them. I would really appreciate this. If there is a resource out there that does this please link it. Thank you.
4 Replies
Filip
Filipβ€’13mo ago
Hi @ShadowRabbitKing and thanks for the detailed comment! If I'm following correctly, you'd like a detailed guide on how to use Mage and Wasp on Windows. These are actually two separate guides: 1) Using Wasp on Windows 2) Using Mage AI with Wasp CLI Composing these two guides together would give you everything you need (i.e., running Mage locally on Windows). We have the guide for using Mage locally (2) in the FAQ at the bottom of usemage.ai (look for the question "[Advanced] Can I use GPT4 for the whole app"). How come you decided to run ti locally, instead of using the webapp we provide usemage.ai? As for the first guide (Using Wasp on Windows), we don't have that one yet πŸ™ƒ. However, there are plans to put it in the docs pretty soon (it will be through WSL, proper Windows support is still a little further down the road). If you'd like to contribute on such a guide, let me know. It's fine if you don't, I'm happy you got it working in the end πŸ˜„
Just consider adding a null check for userWords to avoid potential errors.
This is all AI-generated, right? How would you suggest we add this to our model?
ShadowRabbitKing
ShadowRabbitKingβ€’13mo ago
Dear sodic,Thank you immensely for your prompt and insightful response! I appreciate the delineation between using Wasp on Windows and integrating Mage AI with Wasp CLI. Your guidance sheds light on the steps ahead for me. y inclination towards running it locally stems from a desire for a deeper understanding and perhaps more control over the application, although I acknowledge the convenience of the provided webapp on usemage.ai.Wasp on Windows Guide:I look forward to the upcoming guide on using Wasp on Windows through WSL. It's comforting to know that this guide is on the horizon. Although I managed to set it up, having a structured guide could be a colossal help for revisiting any steps or for aiding others in the community. I'd be thrilled to contribute my experiences if that could be of assistance in composing the guide.Null Check Suggestion:Regarding the null check for userWords, your suggestion makes absolute sense. Adding a null check could indeed mitigate potential errors and enhance the code robustness. I believe this would be a prudent addition to the model, ensuring that userWords is defined before mapping through its items.File Accessibility in Ubuntu Directory:I still harbor some inquiries regarding the process of adding the zip file to the Ubuntu directory for Wasp usage, and altering the file permissions to make them editable. Any guidance or resources on this would be profoundly appreciated.Additional Assistance:If there are any forums or community channels where I might seek further assistance or engage with other users, I'd be keen to join.Thank you once again for your invaluable assistance. I am eagerly looking forward to exploring the full potential of Mage and Wasp and contributing to the community wherever possible.Warmest regards, Shadow
martinsos
martinsosβ€’12mo ago
Hey @ShadowRabbitKing , we don't have those resources yet unfortunately, as we haven't planned on much people wanting to run Mage, as a UI, locally on their machine, nor do we currently have the capacity to work on that. If you do end up creating some resources yourself, feel free to share!
ShadowRabbitKing
ShadowRabbitKingβ€’12mo ago
Sounds good 😊
Want results from more Discord servers?
Add your server