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

failing to install and build #269

Open
Shikhar97 opened this issue May 18, 2023 · 5 comments
Open

failing to install and build #269

Shikhar97 opened this issue May 18, 2023 · 5 comments

Comments

@Shikhar97
Copy link

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

@sbthycode
Copy link

Did you solve this issue? If yes, how?

@Edamijueda
Copy link

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/

@sarmad505
Copy link

  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

@ahmarcode
Copy link

@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??

@Edamijueda
Copy link

@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.

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

5 participants