issue while running the example app on linux
While setting up project following readme file under Run example app.
when run this
cabal run wasp-cli db migrate-dev
I get this error
after running cabal run wasp-cli start db
db get running.
but when again when i run cabal run wasp-cli db migrate-dev
this command it gives me this error
Don't know where is the issue in project or with docker or something else.
But looking at the file directory path in the error it is not correct.
Path of the Project is
I think the issue is that it is not considering the white space
How do make the project up in running?7 Replies
start db
should stay open in background while doing other tasksYes it is open
Agree it is likely the space in the dir name which may not be handled properly, since the error message cuts off there. Can you recreate or move to a dir without a space?
Ok. I will try doing that.
But can we make this as a feature to handle paths in future versions?
as in the above issue in path New Voulme is the disk partition name. Renaming that will cause me to reinstall all the applications on that disk.
Ok yeah, as @shayne said, this sounds like are not handling that path well, we should make it work for whitespaces in it!
Can you open an issue on github for this? A bug report?
So basically, what happens, is that when you run
wasp db migrate-dev
, and your app is in a directory which has whitespace in its path, database migration fails because it breaks on that whitespace. We need to figure out, in Wasp CLI, where are we treating this path in a wrong way.Ok I will open an issue related to this on GitHub.
Thank you.
Wohooo @Suyog Patil, you just became a Waspeteer level 1!