Comments (4)
Can you please provide a minimum reproduction repository with the docker-compose.yml
file so we can locally start a database to test the integration? Also, did you follow this example: https://github.com/nestjs/nest/tree/master/sample/07-sequelize?
from sequelize.
Good catch @jmcdo29! I haven't noticed logger: false
. Please, enable it to see a verbose output (error message)
from sequelize.
Looking at the setup, it's probably not paused, but crashed. Nest doesn't exit on crash but rather hangs and logs the error. However, as you have logger: false
you won't see the error and it will just seem like a hang/pause. If you provide a docker-compose
like Kamil said, we can investigate further, though I'd suggest first setting logger: true
from sequelize.
For me SequelizeModule.forRoot
was not creating the tables and autoLoadModels: true
(as mentioned in example) solved my issue.
Idk how it was working before w/o autoLoadModels: true
from sequelize.
Related Issues (20)
- Typescript 5 @InjectModel raises: Argument of type 'undefined' is not assignable to parameter of type 'string | symbol'.ts HOT 1
- Need to rebuild & republish to npm to get type from nestjs/common. Typescript 5 @InjectModel raises: Argument of type 'undefined' is not assignable to parameter of type 'string | symbol'.ts HOT 1
- sequelize 7 support HOT 1
- Durable - Multi Tenant setup with Sequelize does not work HOT 2
- Switch to sequelize v7 HOT 1
- Unresolved npm dependencies with nestjs 10.3.2 HOT 4
- Connect to Azure SQL using Azure AD Authentication per user HOT 1
- Action Required: Fix Renovate Configuration
- Sequelize version HOT 1
- Mssql SequelizeHostNotFoundError: Failed to connect to HOT 1
- Bag connection to MSSQL HOT 1
- Dependency Dashboard
- Do not synchronize by default?
- Connecting to Sequelize with a URL HOT 1
- If Sequelize is a provider, is it part of the current SequelizeModule? HOT 1
- How to access sequelize connection HOT 1
- Get connection object with multiple databases HOT 1
- @gperdomor there are a few minor breaking changes. You can find the migration guide & instructions on the `8.0.0` branch of the docs https://github.com/nestjs/docs.nestjs.com/tree/8.0.0 HOT 1
- Passing SQL connection string when registering module.
- Multi Tennant setup with Pooled Connections not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sequelize.