SOS "no file or directory exists" (ignore pic please)
hey guys, noob here. i keep getting "no file or directory exists" when i direct it right to the folder. im inputting "cd Users/[username]/[appname]" -- thatsthe folder path... if anyone can help ive been at this whole local install thing like 13 hours already lmfaoo
15 Replies
Hey @saint.0x , sure, happy to help, but can you give me some more info? What are you stuck on, what are you tring to do? Are you coming from OpenSass, from Mage, or directly from wasp-lang.dev?
Is there such file or directory :)?
At first, it sounds to me like you don't have much epxerience with terminal? How is you rprogramming experience? Wasp is not intended for usage for non-developers, some programming knowledge is required, and also some experience with navigating via terminal.
i understand the concepts but def a noob. im using mage and essentially the issue im having is i keep getting an error "Couldn't find wasp project root - make sure you are running this command from a Wasp project." when i try to run it locally
Wohooo @saint.0x, you just became a Waspeteer level 1!
well you need to be positioned in the directory of wasp proejct! You downloaded the project, right? Once you unzip/untar it, you should go into it and then run
wasp
. Btw there should be .wasproot file in the root of the project -> if i ti snot there, maybe sometihng got messed up during unziping / copying it.thats what im saying, i keep getting that message but its in the right directory lol. just redownloaded it without moving it and still getting the same
the main.wasp file is there
im running the wasp exec file from the same folder. could that be the issue?
Hm, do you have .wasproot file in there, can you check?
Also, what OS are you on, and which command exactly do you use?
oh is the file titled "wasproot"? no i dont have that -- never did.
using mac os and the same one the site said to use cd <your-app-name>
wasp db migrate-dev
wasp start
each by themselves
So there should be hidden file .wasproot
Next to main.wasp
It starts with dot, so .wasproot
Yeah those commands should be correct
this is what downloaded
the wasp wasnt there naturally
Show hidden files?
how do i do that
Hm yeah it is a bit weird that wasp executable is there, would be best if you installed it the normal way, this could be prpblematic
Probably right click in your file explorer and then show hidden files
i added wasp exec in there myself, i can take it out
and yes i found out how to do it, the hidden file is there
okay so the essentially last issue im getting is npm install failed: Setup failed! Server setup failed with exit code 1.
i figured the earlier issue out finally issue was syntax lmaoo noob things
Can you take a screenshot of the error messafe?