在运行$ sails lift命令时,我收到此错误。
info: Starting app...
error: Trying to use unknown adapter, "sailspostgresql", in model `adminintro`.
error: Are you sure that adapter is installed in this Sails app?
error: If you wrote a custom adapter with identity="sailspostgresql", it should be in this app's adapters directory.
error: Otherwise, if you're trying to use an adapter named `sailspostgresql`, please run `npm install sails-sailspostgresql@0.10.x`
请帮帮我们......
答案 0 :(得分:2)
得到了答案......这是unicode的错误。我已经从我的同事的一个pdf文件中复制了粘贴local.js的代码。所以,当我将该代码粘贴到我的local.js" - "被替换为一些unicode http://www.fileformat.info/info/unicode/char/00AD/index.htm ..这导致了这个问题..