You are not logged in.
Hello,
nodejs-lts-carbon is a build dependency of VS Code, but it conflict with nodejs wich is a dependency of apm, a dependency of Atom.
So, in the current state I can't build VS Code from aur, with Atom installed.
I'm not sure what to do and that's why I'm asking for help, should I deal with it myself or is it considered as a packaging issue and should be reported to the maintainer ?
Thanks you
Last edited by FloydLacey (2018-08-26 08:14:44)
Offline
nodejs-lts-carbon provides nodejs, so it will satisfy the depedency for apm. There should be not problem at all. If you are getting an error message of some sort, post it so we can see what is actually wrong.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
nodejs-lts-carbon provides nodejs=8.11.4 but apm depends on nodejs>=10
Offline
Oops, sorry, you're right. I was flipping between pages and thought I saw the nodejs-lts-carbon verion as 10.something - but I must have glanced at the wrong package page for that.
But it looks like nodejs-lts-carbon is only a build-time dependency of VSCode, so you should be able to build it in a clean chroot and install it along side a regular nodejs. Or alternatively temporarily remove nodejs just until vs code is built.
It is an unfortunate conflict, but it is a genuine one: there is no packaging bug to fix.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Ok thanks, I managed to build it but now it means that I won be able to simply update VS Code without switching between node version.
I guess the lack of backward compatibility from node or the fact that VS Code uses an "outdate" version of node are to blame.
Offline
Well, is there any particular reason for you to build vs-code yourself? There is also a PKGBUILD for a prebuilt version of it in the aur: visual-studio-code-bin
Offline