Comments (8)
@BenRacicot the error is really strange. Can you do me a favor and check:
- if the error persists with node version 18.x?
- if the error persists with node version 20.x and typeorm-extension version v3.4.1-beta.1?
from typeorm-extension.
PS: thanks for sponsoring ❤️
from typeorm-extension.
Hi!
About 3.4.1-beta.1
I can confirm the same error on MacOS / Node 20.10.0 and 18.12 (used nvm to swap versions)
About 3.4.0
We confirmed the error on Ubuntu and MacOS with Node 20.10.0
We spent many hours today trying to run our old seed script but only have it running on a Windows 10 / Node 20.10.0
I should add that the script does create and run the mig files
...
query: INSERT INTO `development`.`migrations`(`timestamp`, `name`) VALUES (?, ?) -- PARAMETERS: [1707340742888,"Init1707340742888"]
Migration Init1707340742888 has been executed successfully.
query: COMMIT
node:internal/modules/cjs/loader:1147
throw err;
^
from typeorm-extension.
damm. i was hoping that it was due to the exports for the bin directory.
Are you using the latest version of ts-node ?
from typeorm-extension.
Hi, yeah so we've been battling this pretty hard. We created a MacOS VM and can replicate it on that, My personal MBP and my M1 MBP. All have latest version of everything. ts-node etc.
I do believe we've found a common bug with typeorm-extension and MacOS. I'm sorry myself and my partner have no idea what is causing it.
from typeorm-extension.
The problem also occurred in other projects.
Maybe the last comment does help you too.
from typeorm-extension.
Yes that is interesting, same exact error. We rolled back to "typeorm-extension": "^2.8.1" the version we upgraded from and may stay there for a while.
If we can help, please know we're open to give of our time.
from typeorm-extension.
Related Issues (20)
- Bug: Unable to resolve TypeORM decorators (suspect workspace issue) HOT 4
- Feature: Rollback seeders HOT 3
- Bug: runSeeders throws with: The "path" argument is undefined HOT 9
- Feature: Async DataSource options for seeding HOT 6
- Bug: async datasource is not supported HOT 2
- Bug: Duplicate shebang lines in v3.1.0 HOT 1
- Bug: TypeError: ctx.constructor is not a constructor HOT 4
- Bug: Can't run cli HOT 4
- Bug: Undefined in DataSource variables HOT 1
- Feature: Add a flag to allow duplicate entities in seeds HOT 6
- Allow exposing typeorm-extension cli through a bin command HOT 4
- Bug: OptionsError: The database options could not be located/loaded. HOT 16
- Feature: Is there a way this package can work Nest.js? I have tried to work around it and I haven't found the solution yet. HOT 3
- Bug: OptionsError: The database options could not be located/loaded. HOT 3
- Bug: typeorm-extension: seed:run Not Executing Specific Seed File (Version 3.5.0) HOT 9
- Bug: cannot pass in relative path of data source when running db:create
- Bug: "runSeeder" function is triggerring all seeds HOT 1
- Bug: useSeederFactory(Entity).saveMany(n) saves entities slowly HOT 2
- Bug: cli `seed:create` creates unrecognized import HOT 2
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 typeorm-extension.