-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
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
Bug: Cannot find module './cli.cjs' #875
Comments
@BenRacicot the error is really strange. Can you do me a favor and check:
|
PS: thanks for sponsoring ❤️ |
Hi! About 3.4.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
|
damm. i was hoping that it was due to the exports for the bin directory. |
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. |
The problem also occurred in other projects. Maybe the last comment does help you too. |
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. |
I've got a M processor on MBP too and we got the problem since we update |
Wow, just ran into this again on a fresh project.
Updating Global packages and Node simply solved this
|
Hello,
Hi @tada5hi I'm getting the error below (767) after updating to the latest version. (I've read the docs)
We confirmed this error on a Ubuntu environment and my own MacOS, where Windows 10 ran error-free.
I do see that node-modules/typeorm-extension/bin/imaginaryUncacheableRequireResolveScript does not exist.
Two of us are at a loss, could you guide me on this update? :)
Versions
seed
without the error)Reproduction
Update from
typeorm-extension: ^2.8.1
to3.4.0
and run seed script to see error above.(confirmed on multiple environments)
The text was updated successfully, but these errors were encountered: