Thanks for the detailed post and several solutions for each case! Bookmarking this. I've had this error several times in the past when building full stack apps from scratch and it's frustrating, since there are no much clear solutions in around the web.
Nguyễn Tấn Sang
great effort for a new topic, hope good things for you