Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3329

node-gyp fails to rebuild with v1.2.4

    • Not Needed

      Install fails with `mongodb-client-encryption@1.2.4` on Mac OS 11.4, node v14.16.0, npm 6.14.11 

       

      ```

      prebuild-install WARN install No prebuilt binaries found (target=14.16.0 runtime=node arch=x64 libc= platform=darwin)
      gyp: binding.gyp not found (cwd: /Users/ranguo/Work/dev/plug-pulse-api/node_modules/mongodb-client-encryption) while trying to load binding.gyp
      gyp ERR! configure error
      gyp ERR! stack Error: `gyp` failed with exit code: 1
      gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:353:16)
      gyp ERR! stack at ChildProcess.emit (events.js:315:20)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
      gyp ERR! System Darwin 20.5.0
      gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /Users/ranguo/Work/dev/plug-pulse-api/node_modules/mongodb-client-encryption
      gyp ERR! node -v v14.16.0
      gyp ERR! node-gyp -v v8.1.0
      gyp ERR! not ok
      npm WARN plugpulse-api@1.0.0 No description

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! mongodb-client-encryption@1.2.4 install: `prebuild-install --tag-prefix node-v || node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the mongodb-client-encryption@1.2.4 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /Users/ranguo/.npm/_logs/2021-06-03T13_43_24_705Z-debug.log

      ```

            Assignee:
            Unassigned Unassigned
            Reporter:
            rguo@greenactionstudio.com ran guo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: