calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.45k stars 235 forks source link

Install fails while building cytubefilters #927

Closed mariOwO closed 2 years ago

mariOwO commented 2 years ago

Server Problem

Please confirm whether you've tried the following debugging steps:

Description of the Problem

System Information

calzoneman commented 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.

mariOwO commented 2 years ago

Thank you! Turns out I had nodejs-lts-fermium installed.