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

Installation fails with "primordials is not defined" #95

Open
tkurki opened this issue Aug 23, 2022 · 0 comments
Open

Installation fails with "primordials is not defined" #95

tkurki opened this issue Aug 23, 2022 · 0 comments

Comments

@tkurki
Copy link

tkurki commented Aug 23, 2022

Tried in Docker via docker run -it --rm node bash and on MacOS #88.

npm ERR! node-pre-gyp info using node-pre-gyp@0.5.31
npm ERR! node-pre-gyp info using node@18.7.0 | linux | x64
npm ERR! node-pre-gyp ERR! UNCAUGHT EXCEPTION 
npm ERR! node-pre-gyp ERR! stack ReferenceError: primordials is not defined
npm ERR! node-pre-gyp ERR! stack     at evalmachine.<anonymous>:47:5
npm ERR! node-pre-gyp ERR! stack     at Object.<anonymous> (/foo/node_modules/@mapbox/s2/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/fs.js:11:8)
npm ERR! node-pre-gyp ERR! stack     at Module._compile (node:internal/modules/cjs/loader:1120:14)
npm ERR! node-pre-gyp ERR! stack     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
npm ERR! node-pre-gyp ERR! stack     at Module.load (node:internal/modules/cjs/loader:998:32)
npm ERR! node-pre-gyp ERR! stack     at Module._load (node:internal/modules/cjs/loader:839:12)
npm ERR! node-pre-gyp ERR! stack     at Module.require (node:internal/modules/cjs/loader:1022:19)
npm ERR! node-pre-gyp ERR! stack     at require (node:internal/modules/cjs/helpers:102:18)
npm ERR! node-pre-gyp ERR! stack     at Object.<anonymous> (/foo/node_modules/@mapbox/s2/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/graceful-fs.js:3:27)
npm ERR! node-pre-gyp ERR! stack     at Module._compile (node:internal/modules/cjs/loader:1120:14)
npm ERR! node-pre-gyp ERR! System Linux 5.10.47-linuxkit
npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/foo/node_modules/@mapbox/s2/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /foo/node_modules/@mapbox/s2
npm ERR! node-pre-gyp ERR! node -v v18.7.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.5.31
npm ERR! node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
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