Open 13661172102 opened 8 months ago
test code
const { Worker, isMainThread, parentPort } = require('worker_threads'); let murmurhash = require('murmurhash-native'); //error line
if (isMainThread) { const worker = new Worker(__filename); } else {
}
i fixed this bug in this pr
Which node version?
node v18.17.1
test code
const { Worker, isMainThread, parentPort } = require('worker_threads'); let murmurhash = require('murmurhash-native'); //error line
if (isMainThread) { const worker = new Worker(__filename); } else {
}
i fixed this bug in this pr