W
Wasp-lang8mo ago
melo

Couldn't find wasp project root in GitHub CodeSpaces

Hello team, I am trying to run a Wasp proyect in a GitHub Codespace and I am getting this error: Couldn't find wasp project root - - make sure you are running this command from a Wasp project. Of course I am in the correct path, with the main.wasp file correctly formated and the permissions added (rwx). Any clue?
2 Replies
ouner
ouner8mo ago
Same issue here! @Wasp Team @Wasp Expert could anybody support? If I "wasp new" the app is working in localhost, if I import the files from usemage, it is not. Thanks!
martinsos
martinsos8mo ago
So you need .wasproot file in the root of your project -> check if it is there! Both new Wasp projects and also projects created by Mage have that file, and what likely happened is that it somehow got lost while transfering those files to GitHub Codespace / your machine. For example, if you download an archive and copy files from it with cp -R, if I am correct, it can happen in some situations that it doesn't copy hidden files.