kriszyp / lmdb-js

Simple, efficient, ultra-fast, scalable data store wrapper for LMDB
Other
484 stars 39 forks source link

FYI npm i lmdb-store works, but npm i lmdb fails #90

Closed cekvenich2 closed 2 years ago

cekvenich2 commented 2 years ago

npm ERR! path /root/ex/srv/node_modules/lmdb npm ERR! command failed npm ERR! command sh -c node-gyp-build npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@3.8.0 npm ERR! gyp info using node@14.18.1 | linux | x64 npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python3 -c import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack File "", line 1 npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack ^ npm ERR! gyp ERR! stack SyntaxError: invalid syntax npm ERR! gyp ERR! stack npm ERR! gyp ERR! stack at ChildProcess.exithandler (child_process.js:383:12) npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:400:28) npm ERR! gyp ERR! stack at maybeClose (internal/child_process.js:1058:16) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5) npm ERR! gyp ERR! System Linux 5.11.0-37-generic npm ERR! gyp ERR! command "/root/n/bin/node" "/root/ex/srv/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /root/ex/srv/node_modules/lmdb npm ERR! gyp ERR! node -v v14.18.1 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok

kriszyp commented 2 years ago

Hmm, I probably need to rebuild the prebuilt linux binaries.

kriszyp commented 2 years ago

I have published lmdb@v1.6.9 that should have the linux prebuilt binaries. Let me know if you still see this issue.

cekvenich2 commented 2 years ago

Thanks! I was just using the other lib with a different name. I'll try to test the new one.

On Mon, Oct 18, 2021 at 6:57 AM Kris Zyp @.***> wrote:

I have published @.*** that should have the linux prebuilt binaries. Let me know if you still see this issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DoctorEvidence/lmdb-store/issues/90#issuecomment-945690043, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK4M5DKZPSATC5EIODWSVLUHQDSDANCNFSM5F6KU5VQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cekvenich2 commented 2 years ago

The fix works.