You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't turn on the database. There was an error about it at the top, but even though it errored, there was Database successfully set up and it continued! It should have failed there and then, or at least not say database was successfully set up.
Then, all these Prisma errors were prtined, from building SDK. For some reason, no ! in [ Wasp ] which indicates it is an error (from stderr). Not sure if those are really coming to stdout, or if we somehow forgot to acknolwedge it is coming from stderr, we should look into it.
These got all my attention.
Then, tehre was prisma db-migrate-dev warning at the bottom -> I completely missed that one, it is so dark and unimposing next to the red and white that I didn't see it at all. It should be much harder to miss, some stronger color, something bright.
Except for small issues that I listed here, that we should probably fix individually one by one, I would love if we possibly had some way to collect all the errors and then print them at the end at one place: there was error with db, there is warning for prisma, there was error with SDK. We can tell them to go look it up, maybe we don't have to show all of it, but some kind of summary of everything taht is failing / warning could be great.
Another thing we could do is just make sure that errors stand out more. Reduce the noise in general, have standard way for showing all errors that is quite clear about what you should look at and hard to miss, and then also making sure we don't print too much noise, because then you start disregarding information.
Here is a good example of an error I had:
I didn't turn on the database. There was an error about it at the top, but even though it errored, there was
Database successfully set up
and it continued! It should have failed there and then, or at least not say database was successfully set up.Then, all these Prisma errors were prtined, from building SDK. For some reason, no
!
in[ Wasp ]
which indicates it is an error (from stderr). Not sure if those are really coming to stdout, or if we somehow forgot to acknolwedge it is coming from stderr, we should look into it.These got all my attention.
Then, tehre was prisma db-migrate-dev warning at the bottom -> I completely missed that one, it is so dark and unimposing next to the red and white that I didn't see it at all. It should be much harder to miss, some stronger color, something bright.
Except for small issues that I listed here, that we should probably fix individually one by one, I would love if we possibly had some way to collect all the errors and then print them at the end at one place: there was error with db, there is warning for prisma, there was error with SDK. We can tell them to go look it up, maybe we don't have to show all of it, but some kind of summary of everything taht is failing / warning could be great.
Another thing we could do is just make sure that errors stand out more. Reduce the noise in general, have standard way for showing all errors that is quite clear about what you should look at and hard to miss, and then also making sure we don't print too much noise, because then you start disregarding information.
Related issues:
wasp start
reports success even when it fails #2327The text was updated successfully, but these errors were encountered: