We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I look to Mikro-orm with nestjs but I can't launch it with sqlite. So, I try to clone this repo and follow the README.md.
List of commands I do:
git clone https://github.com/mikro-orm/nestjs-realworld-example-app.git
cd nestjs-realworld-example-app
yarn
cp src/config.ts.example src/config.ts
cp src/mikro-orm.config.ts.example src/mikro-orm.config.ts
yarn start
But I got this error:
[Nest] 22833 - 12/26/2024, 6:19:51 PM LOG [NestFactory] Starting Nest application... [Nest] 22833 - 12/26/2024, 6:19:51 PM LOG [MikroORM] [info] MikroORM version: 6.4.2 [Nest] 22833 - 12/26/2024, 6:19:51 PM LOG [MikroORM] [discovery] ORM entity discovery started, using TsMorphMetadataProvider [Nest] 22833 - 12/26/2024, 6:19:51 PM LOG [InstanceLoader] MikroOrmModule dependencies initialized +1ms [Nest] 22833 - 12/26/2024, 6:19:51 PM LOG [MikroORM] [discovery] - processing 4 files [Nest] 22833 - 12/26/2024, 6:19:51 PM LOG [MikroORM] [discovery] - processing entity Article (..path/nestjs-realworld-example-app/dist/article/article.entity.js) [Nest] 22833 - 12/26/2024, 6:19:52 PM LOG [MikroORM] [discovery] - processing entity Comment (..path//nestjs-realworld-example-app/dist/article/comment.entity.js) [Nest] 22833 - 12/26/2024, 6:19:52 PM LOG [MikroORM] [discovery] - processing entity Tag (..path/nestjs-realworld-example-app/dist/tag/tag.entity.js) [Nest] 22833 - 12/26/2024, 6:19:52 PM LOG [MikroORM] [discovery] - processing entity User (..path/nestjs-realworld-example-app/dist/user/user.entity.js) [Nest] 22833 - 12/26/2024, 6:19:52 PM LOG [MikroORM] [discovery] - entity discovery finished, found 6 entities, took 1133 ms [Nest] 22833 - 12/26/2024, 6:19:52 PM LOG [MikroORM] [query] select 1 from information_schema.schemata where schema_name = 'nestjsrealworld' [took 8 ms] [Nest] 22833 - 12/26/2024, 6:19:52 PM ERROR [ExceptionHandler] AggregateError [ECONNREFUSED]: at internalConnectMultiple (node:net:1116:18) at afterConnectMultiple (node:net:1683:7)
I only find this resource https://stackoverflow.com/questions/77051091/nestjs-aggregateerror-while-starting-the-project but not very helpfull. There is maybe a config to change but I don't know what.
The text was updated successfully, but these errors were encountered:
This example app is not using sqlite, so you must have had changed more than just what you say.
Sorry, something went wrong.
Ok, I just understand the example use mysql.
Sorry, I will try with a mysql database later (I can't for do it now).
Also, I change nothing.
If you changed nothing, then the problem is you dont have mysql server running.
No branches or pull requests
Hello,
I look to Mikro-orm with nestjs but I can't launch it with sqlite.
So, I try to clone this repo and follow the README.md.
List of commands I do:
git clone https://github.com/mikro-orm/nestjs-realworld-example-app.git
cd nestjs-realworld-example-app
yarn
cp src/config.ts.example src/config.ts
cp src/mikro-orm.config.ts.example src/mikro-orm.config.ts
yarn start
But I got this error:
I only find this resource https://stackoverflow.com/questions/77051091/nestjs-aggregateerror-while-starting-the-project but not very helpfull.
There is maybe a config to change but I don't know what.
The text was updated successfully, but these errors were encountered: