Skip to content

failing prebuild on node 20 #2

@sibelius

Description

@sibelius
  • node 20.1.0
prebuild-install warn install No prebuilt binaries found (target=20.1.0 runtime=node arch=arm64 libc= platform=darwin)
gyp info it worked if it ends with ok
gyp info using node-gyp@6.1.0
gyp info using node@20.1.0 | darwin | arm64
gyp info find Python using Python version 3.10.3 found at "/.pyenv/versions/3.10.3/bin/python3"
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
gyp ERR! stack     at createConfigFile (node-printer/node_modules/node-gyp/lib/configure.js:118:21)
gyp ERR! stack     at node-printer/node_modules/node-gyp/lib/configure.js:85:9
gyp ERR! stack     at node-printer/node_modules/mkdirp/index.js:30:20
gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:186:23)
gyp ERR! System Darwin 22.5.0
gyp ERR! command "/.nvm/versions/node/v20.1.0/bin/node" "node-printer/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /node-printer
gyp ERR! node -v v20.1.0
gyp ERR! node-gyp -v v6.1.0
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
error Command failed with exit code 7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions