GithubHelp home page GithubHelp logo

Comments (8)

tada5hi avatar tada5hi commented on June 10, 2024

@BenRacicot the error is really strange. Can you do me a favor and check:

  1. if the error persists with node version 18.x?
  2. if the error persists with node version 20.x and typeorm-extension version v3.4.1-beta.1?

from typeorm-extension.

tada5hi avatar tada5hi commented on June 10, 2024

PS: thanks for sponsoring ❤️

from typeorm-extension.

BenRacicot avatar BenRacicot commented on June 10, 2024

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.

tada5hi avatar tada5hi commented on June 10, 2024

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.

BenRacicot avatar BenRacicot commented on June 10, 2024

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.

tada5hi avatar tada5hi commented on June 10, 2024

The problem also occurred in other projects.

TypeStrong/ts-node#2099

Maybe the last comment does help you too.

from typeorm-extension.

BenRacicot avatar BenRacicot commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.