Having followed the instructions to upgrade to V7 w/ sequelize, herev7 , I run
docker-compose up and expect the node service to start up as usual.
After the usual
Your application is listening on port 3310., I get lots of exceptions -
One per model field for every single model (as far as I can tell) looking like this:
Followed by a single error as follows:
The forestadmin-schema.json file is not autogenerated (as suggested by that last error).
I HAVE confirmed that
models/index.js has the right models dir, and is able to
connection.import what looks like a valid model.
My project is using Typescript. Autogenerated files remain in JS, but we’re writing new ones in TS.
- forest-express-sequelize Version: 7.8.0
- Express Version: 4.17.1
- Sequelize Version: 5.15.2
- Database Version: PostgreSQL 12.4
- Project Name: empathy-backoffice
Thanks for helping!