啟動sails時報錯:
error: A hook (`orm`) failed to load! error: Could not tear down the ORM hook. Error details: Error: Consistency violation: Attempting to tear down a datastore (`default`) which is not currently registered with this adapter. This is usually due to a race condition in userland code (e.g. attempting to tear down the same ORM instance more than once), or it could be due to a bug in this adapter. (If you get stumped, reach out at http://sailsjs.com/support.)
原因:數據庫服務關閉了,sails連接不上數據庫。
解決:重啟數據庫服務“ windows + R "-->" services.msc "找到數據庫服務” 啟動 “。