Comments (14)
Try updating node-gyp
: (as superuser) npm install -g node-gyp@latest
since your version is out of date by an entire major release.
from vlc-discord-rpc.
I'm using arch and node-gyp is installed via pacman, so using npm to update it would probably break the package unfortunately, so I'll probably hold off on that. I do have version 8.2.0, which is only 2 minor versions behind though.
from vlc-discord-rpc.
For whatever reason then, npm
is grabbing some other installation of node-gyp on your system, judging by this:
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! Node-gyp failed to build your package.
npm ERR! gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.```
from vlc-discord-rpc.
Seems like it's trying to use the node-gyp bundled with my npm installation instead of my global one, so seems to be something on my end.
from vlc-discord-rpc.
if you have node-gyp bundled with npm already, npm install -g node-gyp@latest
would update it and not affect the pacman package any more than it already does, no? worth a try.
Or maybe just remove the npm-bundled version and hope that it defaults to the pacman version.
from vlc-discord-rpc.
same problem here
from vlc-discord-rpc.
i use arch linux btw
from vlc-discord-rpc.
i too use arch btw but mine's better than yours because i also use dwm
from vlc-discord-rpc.
if you have node-gyp bundled with npm already,
npm install -g node-gyp@latest
would update it and not affect the pacman package any more than it already does, no? worth a try.Or maybe just remove the npm-bundled version and hope that it defaults to the pacman version.
The problem is that the pacman node-gyp and npm -g node-gyp are installed in /usr/lib/node_modules/node-gyp/
, while when installing it's using /usr/lib/node_modules/npm/node_modules/node-gyp/
from vlc-discord-rpc.
The problem is that the pacman node-gyp and npm -g node-gyp are installed in
/usr/lib/node_modules/node-gyp/
, while when installing it's using/usr/lib/node_modules/npm/node_modules/node-gyp/
I think you might wanna reinstall npm, and make sure you only have one installation of it at a time. Haven't been able to reproduce the issue on my end.
from vlc-discord-rpc.
It seems like /usr/lib/node_modules/npm/node_modules/node-gyp/
should not have been there, wasn't part of my node or npm installation, removed it and it seems to work. Thanks for the help!
from vlc-discord-rpc.
Oh, interesting, i wonder how that got there then. Glad you could get it working!
from vlc-discord-rpc.
Yeah it's super weird, no idea how it got there, maybe from like a previous version of the package? that should've been removed if so though.
from vlc-discord-rpc.
I just checked on my system (Up-to-date Arch install that i've had for a few years), and I too have /usr/lib/node_modules/npm/node_modules/node-gyp
. In theory that folder should be owned by the pacman package npm
which I have installed, but it isn't.
Could be a remnant from an old version, or updating npm
using itself requires it as a build dependency? Oh well, can't be very important lol.
from vlc-discord-rpc.
Related Issues (20)
- A problem occurred while installing modules. Even though everything is installed correctly HOT 5
- Not connecting to Discord client HOT 10
- VLC is classified as a game instead of music HOT 2
- NPM Error HOT 22
- Error when 'linux' is defined in the platformDefault const HOT 5
- Change the default "Playing VLC Media Player" rich presence. HOT 31
- Rich Presence not removed when playback is paused (if sleepTime > updateInterval) HOT 4
- Support for the PTB and Canary Discord versions HOT 1
- Where are the icons located? HOT 2
- Script runs but not showing the VLC RPC in discord. Error SPAM in script. HOT 2
- i have a problem runnin vlc rpc HOT 3
- VLC freezing every like 15min with this HOT 4
- Some album art are not showing, while others do. HOT 4
- I'm timed out by the program HOT 2
- Does not detect the VLC instance
- Randomly crashing HOT 2
- Failed to reach VLC. Is it open? (detached script doesn't work) HOT 5
- UnhandledPromiseRejectionWarming when opening start.bat HOT 1
- Program unable to detect my discord client. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vlc-discord-rpc.