You are not logged in.

#1 2018-04-30 18:30:49

chrisco23
Member
Registered: 2017-12-13
Posts: 156

How to install code (VSCode, via AUR), hitting upath issue [SOLVED]

Hi all,

Still fairly new to Arch (obviously) and I'm trying to install code (VSCode) using packer.  I installed VSCode quite a while ago and I don't remember exactly how but VSCode is wanting to update from within the running program and I'm guessing that's not the ideal way to update.  Also, I want to do a fresh install of VSCode on another machine anyway.

I hit this error:

error upath@1.0.4: The engine "node" is incompatible with this module. Expected version ">=4 <=9".

I google around and I find that this has something to do with upath, that there are workarounds if you are within package.json, and now (bottom of following thread), upath has been updated anyway.

https://github.com/rails/webpacker/issues/1456

I'm not working with any individual package.json file.  I'm just running packer.  Also, I don't see exactly how to update upath.  My system is fully updated (with sudo pacman -Syu).

Please advise.

Thanks,
Chris

Last edited by chrisco23 (2018-05-01 22:35:02)

Offline

#2 2018-05-01 13:27:25

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,556

Re: How to install code (VSCode, via AUR), hitting upath issue [SOLVED]

Check the comments on the aur page for "code" package, it mentions a workaround.

Last edited by Lone_Wolf (2018-05-01 13:27:53)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2018-05-01 21:58:25

chrisco23
Member
Registered: 2017-12-13
Posts: 156

Re: How to install code (VSCode, via AUR), hitting upath issue [SOLVED]

Thanks for the reply.  Do you mean this one?

Zrax commented on 2018-04-30 16:56
Also, until compatibility with nodejs 10.0 is fixed, you should be able to install nodejs-lts-carbon and build with that version instead.

I haven't as yet had the opportunity/need to mess with PKGBUILD.  Is that what's required?

Also I notice the very newest comment speaks about the exact error I'm having.  Maybe that poster also doesn't understand the workaround??

Offline

#4 2018-05-01 22:34:37

chrisco23
Member
Registered: 2017-12-13
Posts: 156

Re: How to install code (VSCode, via AUR), hitting upath issue [SOLVED]

Haven't had a chance to put it to a real test, but installing visual-studio-code-bin seems to be working and VSCode is now running at 1.22.2.  Marking closed.

Offline

#5 2018-07-17 01:39:10

sistematico
Member
From: Campo Grande / MS / Brasil
Registered: 2008-07-26
Posts: 97
Website

Re: How to install code (VSCode, via AUR), hitting upath issue [SOLVED]

Sorry for bumping, but anyone solved this?
I really like to run code instead visual-studio-code-bin.


Lucas Saliés Brum
blog | medium | vk | twitter | github | .share
Forgive the spelling and grammar, English is not my native language.

Offline

#6 2018-07-17 15:07:25

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,556

Re: How to install code (VSCode, via AUR), hitting upath issue [SOLVED]

https://bugs.archlinux.org/task/59163

Seems you need to rebuild nodejs-lt-carbon locally first , then it should work.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2018-07-18 14:06:42

sistematico
Member
From: Campo Grande / MS / Brasil
Registered: 2008-07-26
Posts: 97
Website

Re: How to install code (VSCode, via AUR), hitting upath issue [SOLVED]

Lone_Wolf wrote:

https://bugs.archlinux.org/task/59163

Seems you need to rebuild nodejs-lt-carbon locally first , then it should work.

Working with nodejs-lt-carbon from Arch Linux SVN. Thank you.


Lucas Saliés Brum
blog | medium | vk | twitter | github | .share
Forgive the spelling and grammar, English is not my native language.

Offline

Board footer

Powered by FluxBB