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

Invalid version number #2895

Open
minchopm opened this issue Aug 10, 2023 · 1 comment
Open

Invalid version number #2895

minchopm opened this issue Aug 10, 2023 · 1 comment

Comments

@minchopm
Copy link

minchopm commented Aug 10, 2023

I am using Mac M1, Python 3.10, node 18.12.1 and I am having this error when I try to rebuild the leveldown package.
% node-gyp rebuild --target arm64 --arch arm64

gyp info it worked if it ends with ok
gyp info using node-gyp@9.4.0
gyp info using node@18.12.1 | darwin | arm64
gyp info find Python using Python version 3.10.6 found at "/opt/local/bin/python3"
gyp ERR! configure error 
gyp ERR! stack Error: Invalid version number: true
gyp ERR! stack     at getNodeDir (/Users/minchomilev/.nvm/versions/node/v18.12.1/lib/node_modules/node-gyp/lib/configure.js:57:25)
gyp ERR! stack     at /Users/minchomilev/.nvm/versions/node/v18.12.1/lib/node_modules/node-gyp/lib/configure.js:31:7
gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
gyp ERR! System Darwin 22.5.0
@cclauss
Copy link
Contributor

cclauss commented Aug 23, 2023

@minchopm Are you able to upgrade to classic-level which is replacing leveldown?

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