Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Error installing lz4 #121

Open
Dhruv-Garg79 opened this issue Jun 3, 2024 · 0 comments
Open

Error installing lz4 #121

Dhruv-Garg79 opened this issue Jun 3, 2024 · 0 comments

Comments

@Dhruv-Garg79
Copy link

node version - 20.12.0
python version - 3.12.3

There seems to be some node-gyp related issue, when installing this library.

error logs

bun add v1.1.10 (5102a944)
  ⚙️  lz4 [1/1] gyp info it worked if it ends with ok
gyp info using node-gyp@10.1.0
gyp info using node@20.12.0 | darwin | arm64
gyp info find Python using Python version 3.12.3 found at "/opt/homebrew/opt/python@3.12/bin/python3.12"
gyp ERR! configure error 
gyp ERR! stack TypeError: LRUCache is not a constructor
gyp ERR! stack at Object.<anonymous> (/Users/dhruv/Programs/nudge/api-server/node_modules/cacache/lib/memoization.js:5:18)
gyp ERR! stack at Module._compile (node:internal/modules/cjs/loader:1369:14)
gyp ERR! stack at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
gyp ERR! stack at Module.load (node:internal/modules/cjs/loader:1206:32)
gyp ERR! stack at Module._load (node:internal/modules/cjs/loader:1022:12)
gyp ERR! stack at Module.require (node:internal/modules/cjs/loader:1231:19)
gyp ERR! stack at require (node:internal/modules/helpers:179:18)
gyp ERR! stack at Object.<anonymous> (/Users/dhruv/Programs/nudge/api-server/node_modules/cacache/lib/get.js:8:14)
gyp ERR! stack at Module._compile (node:internal/modules/cjs/loader:1369:14)
gyp ERR! stack at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
gyp ERR! System Darwin 23.4.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant