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

Error installing lz4  #121

@Dhruv-Garg79

Description

@Dhruv-Garg79

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions