Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

binaries crash with node@17 #68

Open
jupe opened this issue Nov 4, 2021 · 0 comments
Open

binaries crash with node@17 #68

jupe opened this issue Nov 4, 2021 · 0 comments

Comments

@jupe
Copy link

jupe commented Nov 4, 2021

running sudo npm install -g mongodb-prebuilt with node@17 success, but tools fails.

circleci@ec3f4bc849dc:~$ mongodump --version
node:events:368
      throw er; // Unhandled 'error' event
      ^

Error: spawn /home/circleci/.mongodb-prebuilt/mongodb-download/89c1a3acbd067aa878a26c5cafb4e0dc/mongodb-linux-x86_64-debian92-5.2.0-alpha-273-gb412b37/bin/mongodump ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:475:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
    at onErrorNT (node:internal/child_process:475:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn /home/circleci/.mongodb-prebuilt/mongodb-download/89c1a3acbd067aa878a26c5cafb4e0dc/mongodb-linux-x86_64-debian92-5.2.0-alpha-273-gb412b37/bin/mongodump',
  path: '/home/circleci/.mongodb-prebuilt/mongodb-download/89c1a3acbd067aa878a26c5cafb4e0dc/mongodb-linux-x86_64-debian92-5.2.0-alpha-273-gb412b37/bin/mongodump',
  spawnargs: [ '--version' ]
}

Node.js v17.0.1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant