Sails.js grabConnection(conn)出现SailsJs错误

Sails.js grabConnection(conn)出现SailsJs错误,sails.js,Sails.js,有人能帮我解决这个错误吗 Running "less:dev" (less) task verbose: Lowering sails... verbose: Sent kill signal to child process (26729)... ../staging.platform/node_modules/sails-disk/lib/adapter.js:80 grabConnection(conn).dropCollection(coll, relations, cb);

有人能帮我解决这个错误吗

Running "less:dev" (less) task
verbose: Lowering sails...
verbose: Sent kill signal to child process (26729)...
../staging.platform/node_modules/sails-disk/lib/adapter.js:80
      grabConnection(conn).dropCollection(coll, relations, cb);
                          ^

TypeError: Cannot read property 'dropCollection' of undefined
    at Object.drop (../staging.platform/node_modules/sails-disk/lib/adapter.js:80:27)
    at module.exports.drop (../staging.platform/node_modules/waterline/lib/waterline/adapter/ddl/index.js:110:13)
    at afterAsyncEach (../staging.platform/node_modules/waterline/lib/waterline/adapter/sync/strategies/alter.js:190:14)
    at ../staging.platform/node_modules/async/lib/async.js:52:16
    at Object.async.forEachOf.async.eachOf (../staging.platform/node_modules/async/lib/async.js:236:30)
    at Object.async.forEach.async.each (../staging.platform/node_modules/async/lib/async.js:209:22)
    at ../staging.platform/node_modules/waterline/lib/waterline/adapter/sync/strategies/alter.js:134:13
    at wrapper (../staging.platform/node_modules/waterline/node_modules/lodash/index.js:3592:19)
    at applyInOriginalCtx (../staging.platform/node_modules/waterline/lib/waterline/utils/normalize.js:421:80)
    at wrappedCallback (../staging.platform/node_modules/waterline/lib/waterline/utils/normalize.js:324:18)
    at success (../staging.platform/node_modules/waterline/node_modules/switchback/lib/normalize.js:33:31)
    at _switch (../staging.platform/node_modules/waterline/node_modules/switchback/lib/factory.js:58:28)
    at ../staging.platform/node_modules/sails-disk/lib/adapter.js:88:19
    at Timeout._onTimeout (../staging.platform/node_modules/sails-disk/lib/adapter.js:179:10)
    at ontimeout (timers.js:365:14)
    at tryOnTimeout (timers.js:237:5)
    at Timer.listOnTimeout (timers.js:207:5)
我遇到的问题是,这个错误出现时没有真正的原因。在我的本地机器上,我的Sails应用程序可以工作-但是,在我的沙盒远程服务器上,我刚刚开始收到错误


我完全不知所措

可能是权限问题。在远程服务器上,运行Sails应用程序的用户是否有权限在应用程序的
.tmp
文件夹中写入文件?我想了一下--所以我实际上将.tmp更改为777并重新提升了Sails,但它不起作用。因此我在.tmp目录中备份了localDB,并删除了localDB并重新提升了Sails,一切都恢复了