-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
require('node:module')._preloadModules
is not a function.
#6227
Comments
I think you should drop the |
_preloadModules
is not a function.
@B4nan with pnpm also not work |
Is this issue still relevant? |
@paperdave fixed this some time ago |
@Jarred-Sumner I checked it again, and |
this issue is not fixed as of 1.0.14. the work seems to be started on pr here: #6188. i did not have time to finish it up at the time, and i am now focusing on the windows build. someone else will have to pickup implementing the |
_preloadModules
is not a function.require('node:module')._preloadModules
is not a function.
Getting this error in a GitPod instance of my Hardhat template:
|
Getting this error with macOS arm64, Bun v1.1.17 and threads.js v1.7.0 when setting up a pool with thread.js. ErrorSetup// index.ts
import { spawn, Pool, Worker } from "threads";
const pool = Pool(
() => spawn(new Worker("./workers/add")),
8
); // workers/add.ts
import { expose } from "threads/worker"
expose(function add(a, b) {
return a + b
}) |
Confirming this is not fixed, and also probably very easy to implement. |
What version of Bun is running?
1.0.2+37edd5a6e389265738e89265bcbdf2999cb81a49
What platform is your computer?
Linux 6.2.0-33-generic x86_64 x86_64
What steps can reproduce the bug?
https://github.com/imcm7/nuxt-db/tree/main/server
install mikro-orm and
bun -b db:update
What is the expected behavior?
No response
What do you see instead?
@Jarred-Sumner with -b also not run, some days ago all was ok
The text was updated successfully, but these errors were encountered: