System Information
-
Strapi Version: 3.1.4
-
Operating System: MacOS Monterey
-
Database: Postgres
-
Node Version: v14.17.5
-
NPM Version: 7.24.2
-
Yarn Version:
[2021-11-08T06:59:20.430Z] error Something went wrong in the model `Customer` with the attribute `created_by`
[2021-11-08T06:59:20.431Z] error TypeError: Cannot read property 'uid' of undefined
➜ gfs-cms git:(master) ✗ npm run develop
> gfs-cms@0.1.0 develop
> strapi develop
[2021-11-08T07:25:44.964Z] error Something went wrong in the model `Customer` with the attribute `created_by`
[2021-11-08T07:25:44.965Z] error TypeError: Cannot read property 'uid' of undefined
at Object.defineAssociations (/Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi-utils/lib/models.js:417:34)
at /Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi-connector-bookshelf/lib/mount-models.js:192:19
at Array.forEach (<anonymous>)
at updateModel (/Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi-connector-bookshelf/lib/mount-models.js:178:40)
at async module.exports (/Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi-connector-bookshelf/lib/mount-models.js:702:28)
at async Promise.all (index 1)
at async mountConnection (/Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi-connector-bookshelf/lib/index.js:87:31)
at async Promise.all (index 0)
at async Object.initialize (/Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi-database/lib/connector-registry.js:30:9)
at async DatabaseManager.initialize (/Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi-database/lib/database-manager.js:43:5)
at async Strapi.load (/Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi/lib/Strapi.js:354:5)
at async Strapi.start (/Users/joel/Desktop/gfs/gfs-cms/node_modules/strapi/lib/Strapi.js:196:9)