-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
leveldown package issue #3093
Comments
Please tell us what command you typed and provide the full error log.
vs. https://github.com/nodejs/node-gyp/releases
|
@Jy496 You should replace |
Please find complete error below lerna ERR! npm install --legacy-peer-deps exited 1 in 'sub-repo' npm ERR! A complete log of this run can be found in: /Users/username/.npm/_logs/2024-11-14T05_17_50_019Z-debug-0.log |
Please always provide the command that you typed. Given the suggestions above (#3093 (comment)), we need to know if you are installing @vweevers It would be helpful if the unmaintained repo that contains software that should no longer be used was archived. |
@cclauss, none of the above packages are there in my package.json. |
I am not trying to install any of the level package. I just tried npm install in my root repository, It is working fine for other packages repos(sub repo's) except one. |
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/builder.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/builder.h:8:
npm ERR! ../deps/leveldb/leveldb-1.20/include/leveldb/status.h:16:10: fatal error: 'string' file not found
npm ERR! 16 | #include
npm ERR! | ^~~~~~~~
npm ERR! 1 error generated.
npm ERR! make: *** [Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/builder.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error:
make
failed with exit code: 2npm ERR! gyp ERR! stack at ChildProcess.onExit (/Users/username/repo/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:514:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! gyp ERR! System Darwin 23.6.0
npm ERR! gyp ERR! command "/Users/username/.nvm/versions/node/v20.9.0/bin/node" "/Users/username/repo/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /**s/node_modules/leveldown
npm ERR! gyp ERR! node -v v20.9.0
npm ERR! gyp ERR! node-gyp -v v9.4.1
npm ERR! gyp ERR! not ok
Getting above error while installing node_modules using npm i after upgrading Mac.
I tried almost all the possible ways since 3 days but No luck.
Can any one help me on this
The text was updated successfully, but these errors were encountered: