Closed mariOwO closed 2 years ago
Hi,
It seems you're using a rather old version of node.js as far as Arch Linux is concerned. I spun up a fresh Arch image in Docker, installed nodejs and npm, cloned the repo, and npm install succeeded as expected with these versions:
[root@4e737b9234ff sync]# node -v
v16.11.1
[root@4e737b9234ff sync]# npm -v
8.1.3
In particular, the error message you're seeing refers to dependency within node-gyp itself, which was changed several months ago upstream. Thus, I don't have any control over fixing your issue since it seems like you have some kind of inconsistent/outdated installation of the nodejs/npm/node-gyp tooling.
I'd recommend you update your system to the latest versions of these tools and then try again.
Thank you! Turns out I had nodejs-lts-fermium installed.
Server Problem
Please confirm whether you've tried the following debugging steps:
npm run build-server
to regeneratelib/
fromsrc/
rm -rf node_modules && npm install
to get a fresh install of dependenciesDescription of the Problem
Clone the repo, run
npm install
as a non-root user.System Information