wasp icon indicating copy to clipboard operation
wasp copied to clipboard

Make Wasp more robust (fewer `wasp clean` calls)

Open sodic opened this issue 1 year ago • 4 comments

This is a very, very high-level issue, but...

Most of our troubleshooting begins by telling the user: Did you run wasp clean?

This indicates low trust in wasp start and Wasp's handling of runtime changes. We should strive to reach a point where the suggestion of running wasp clean is as unreasonable as TS devs suggesting "Did you try deleting the dist folder."

This is, of course, a lot of non-obvious work, but the issue pops out all the time, and I had to document the it somewhere :)

sodic avatar May 10 '24 13:05 sodic

Tangentially related to #1971 .

Martinsos avatar May 10 '24 13:05 Martinsos

Here is situation in Discord where wasp clean was needed: https://discord.com/channels/686873244791210014/1239979274879111330/1239979274879111330 . It was caused by reinstalling dependencies.

Martinsos avatar May 15 '24 10:05 Martinsos

Another use mentioning this as a problem: https://discord.com/channels/686873244791210014/1287813207297359987/1289291579206668298

sodic avatar Sep 30 '24 09:09 sodic

Another one: https://discord.com/channels/686873244791210014/1289650697494728787/1290327971852189749

sodic avatar Oct 01 '24 08:10 sodic