Search code examples
node.jsstrapi

How to re-run the app after crash the server in strapi?


I'm new to use strapi and I got error while add data.

Error: SQLITE_ERROR: Cannot add a NOT NULL column with default value NULL

And after that my app has gone a crash. Now I re-run the command.

strapi start

But still I got the same error. So how could I start the app again?


Solution

  • As @ Lawrence Cherone suggested, I have ALTER my table to allow NULL values. And it works for me.