Skip to content
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

murmurhash-native doesn't support node v21 #20

Open
pencilcheck opened this issue Mar 28, 2024 · 1 comment
Open

murmurhash-native doesn't support node v21 #20

pencilcheck opened this issue Mar 28, 2024 · 1 comment

Comments

@pencilcheck
Copy link

murmurhash-native has stopped being actively developed about 4 years ago, using node 21 wouldn't work

@insanity54
Copy link

I too am having this problem. To add some additional context, here is a stack trace

pn start:email

> futurenet-scout@3.2.0 start:email /home/cj/Documents/futurenet-monorepo/packages/scout
> node ./src/index.email.js

node:internal/modules/cjs/loader:1145
  const err = new Error(message);
              ^

Error: Cannot find module '/home/cj/Documents/futurenet-monorepo/packages/scout/node_modules/.pnpm/murmurhash-native@3.5.0/node_modules/murmurhash-native/lib/Release/murmurhash.node'
Require stack:
- /home/cj/Documents/futurenet-monorepo/packages/scout/node_modules/.pnpm/murmurhash-native@3.5.0/node_modules/murmurhash-native/index.js
- /home/cj/Documents/futurenet-monorepo/packages/scout/node_modules/.pnpm/@imqueue+pg-pubsub@1.8.0/node_modules/@imqueue/pg-pubsub/src/helpers.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
    at Module._load (node:internal/modules/cjs/loader:986:27)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/home/cj/Documents/futurenet-monorepo/packages/scout/node_modules/.pnpm/murmurhash-native@3.5.0/node_modules/murmurhash-native/index.js:6:18)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Module.require (node:internal/modules/cjs/loader:1233:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/cj/Documents/futurenet-monorepo/packages/scout/node_modules/.pnpm/murmurhash-native@3.5.0/node_modules/murmurhash-native/index.js',
    '/home/cj/Documents/futurenet-monorepo/packages/scout/node_modules/.pnpm/@imqueue+pg-pubsub@1.8.0/node_modules/@imqueue/pg-pubsub/src/helpers.js'
  ]
}

Node.js v20.13.1
 ELIFECYCLE  Command failed with exit code 1.

I don't have any workarounds yet, but I'm looking for one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants