-
I have two models: User and Trade and I have these associations:
```
User.hasMany(Trade);
Trade.belongsTo(User);
```
I get blueprint error when starting Sails:
```
node_modules/sails-hook-sequelize…
-
I've installed this hook, called `sails lift`, and then when I edit a model, I get this error:
```
error: Failed to reinitialize ORM.
error: AdapterError: Connection is already registered
{ [AdapterE…
-
**Node version**: `14.x`: tested on `14.0.0`, `14.5.0`, `14.7.0`
**Sails version** _(sails)_: `1.2.4`
**ORM hook version** _(sails-hook-orm)_: `2.1.1`
**DB adapter & version** _(e.g. sails-mysql@5…
-
`修改连接参数(使用 Sequelize 替代了 Sails 框架中默认的 Waterline)
> vi config/connections.js
sequelizeServer: {
user: 'xxx',
password: 'xxx',
database: 'wedding',
options: {
dialect: 'mysql',
dia…
-
**Node version**: 16.16.0
**Sails version** _(sails)_: 1.5.2
**ORM hook version** _(sails-hook-orm)_: 2.1.1
**Sockets hook version** _(sails-hook-sockets)_: 2.0.0
**Organics hook version** _(sails…
-
Hi there! Nice project :)
I had to do 2 thing to get this to work start properly on ubuntu
1. After cloning the gaowl repository, I had to change the permissions of all the files to my present user …
-
Hello,
I often get this as an answer :
``` javascript
{
"code": "E_INTERNAL_SERVER_ERROR",
"message": "Something bad happened on the server",
"data": {}
}
```
If I manually log the error in …
-
Hello, I'm using passport to do authorization, i'm getting below error while using `$sailsSocket`
is there anyway to authorize $sailsSocket requests?
thanks!
Error from console:
``` sh
error: Send…
-
After updating to version 0.6.2 (from 0.5.x, using sails-postgresql adapter) there is an error when lifting sails:
```
error: error: A hook (`orm`) failed to load!
error: error: Error (E_UNKNOWN) :: …
-
**Node version**: 12.19.0
**Sails version** _(sails)_: 1.4.0
**ORM hook version** _(sails-hook-orm)_: 3.0.1
**Sockets hook version** _(sails-hook-sockets)_: 2.0.0
**Organics hook version** _(sails…