安装sails-auth
和sails-permissions
软件包之后,我的自动重载挂钩(https://github.com/sgress454/sails-hook-autoreload)不再起作用了:
错误:无法重新加载ORM挂钩。详细信息:错误:无法重新初始化ORM,因为ORM挂接的initialize()方法返回错误。 细节: 错误:一致性违规:实例化的水线模型已具有数据存储属性。
的软件包:
"bcryptjs": "^2.3.0",
"ejs": "2.3.4",
"grunt": "0.4.5",
"grunt-contrib-clean": "0.6.0",
"grunt-contrib-coffee": "0.13.0",
"grunt-contrib-concat": "0.5.1",
"grunt-contrib-copy": "0.5.0",
"grunt-contrib-cssmin": "0.9.0",
"grunt-contrib-jst": "0.6.0",
"grunt-contrib-less": "1.1.0",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-uglify": "0.7.0",
"grunt-contrib-watch": "0.5.3",
"grunt-sails-linker": "~0.10.1",
"grunt-sync": "0.2.4",
"include-all": "~0.1.6",
"marlinspike": "^1.0.0",
"passport": "^0.3.2",
"passport-local": "^1.0.0",
"rc": "1.0.1",
"sails": "~0.12.3",
"sails-auth": "^2.1.3",
"sails-disk": "~0.10.9",
"sails-hook-autoreload": "^0.13.1",
"sails-permissions": "^2.2.0",
"validator": "^5.2.0"
Sails版本v0.12.3。
任何想法如何解决这个问题?