v4 icon indicating copy to clipboard operation
v4 copied to clipboard

failing to install and build

Open Shikhar97 opened this issue 1 year ago • 5 comments

make: *** [Release/obj.target/lmdb/src/node-lmdb.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/shikhargupta/.nvm/versions/node/v20.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23) gyp ERR! stack at ChildProcess.emit (node:events:511:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) gyp ERR! System Darwin 22.4.0 gyp ERR! command "/Users/shikhargupta/.nvm/versions/node/v20.2.0/bin/node" "/Users/shikhargupta/.nvm/versions/node/v20.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/shikhargupta/Desktop/GitHub/chandrikadeb7.github.io/node_modules/lmdb-store

ERROR UNKNOWN No native build was found for platform=darwin arch=arm64 runtime=node abi=115 uv=1 armv=8 libc=glibc node=20.2.0 loaded from: /Users/shikhargupta/Desktop/GitHub/chandrikadeb7.github.io/node_modules/lmdb-store Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=115 uv=1 armv=8 libc=glibc node=20.2.0 loaded from: /Users/shikhargupta/Desktop/GitHub/chandrikadeb7.github.io/node_modules/lmdb-store

Shikhar97 avatar May 18 '23 18:05 Shikhar97

Did you solve this issue? If yes, how?

sbthycode avatar Nov 02 '23 15:11 sbthycode

This: npm install --force will resolve your issue.

Steps I took:

  1. Deleted the cloned project as I have messed a lot of things up.
  2. Cloned it from github again
  3. Deleted the yarn.lock file
  4. Run npm install -g gatsby-cli
  5. npm install --force
  6. npm start I was then able to view v4 project in my browser on using http://localhost:8000/

Edamijueda avatar Nov 07 '23 12:11 Edamijueda

  1. Installed zip folder to clone repository. (tried github desktop and git clone through terminal but did not work for me)
  2. delete yarn.lock file
  3. Run npm install -g gatsby-cli
  4. npm install --force (ensure that you stable internet connection)
  5. npm start --> project start on localhost port 8000

sarmad505 avatar Jan 26 '24 16:01 sarmad505

@Edamijueda Solutions is Great. Finally able to run this repo, after long thrashing of playing with npm versions and modules. There is a warning, about "Memory Leak", anything to worry about??

ahmarcode avatar Feb 27 '24 08:02 ahmarcode

@Edamijueda Solutions is Great. Finally able to run this repo, after long thrashing of playing with npm versions and modules. There is a warning, about "Memory Leak", anything to worry about??

I am happy to hear that ur issue was solved. Nothing to worry about. I have been using this for some time now. No code breaking.

Edamijueda avatar Feb 27 '24 11:02 Edamijueda