Package Details: nvm 0.38.0-2

Git Clone URL: https://aur.archlinux.org/nvm.git (read-only, click to copy)
Package Base: nvm
Description: Node Version Manager - Simple bash script to manage multiple active node.js versions
Upstream URL: https://github.com/nvm-sh/nvm
Licenses: MIT
Submitter: tomwadley
Maintainer: tomwadley
Last Packager: tomwadley
Votes: 176
Popularity: 8.81
First Submitted: 2015-03-14 21:57
Last Updated: 2021-04-18 23:14

Dependencies (1)

Required by (39)

Sources (3)

Pinned Comments

tomwadley commented on 2020-09-04 22:14

Due to the way nvm is designed, you have to source it before you can use it:

source /usr/share/nvm/init-nvm.sh

You will probably want that in your shell startup file, e.g.:

echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc

See nvm.install or the upstream README for more details.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

protolomeo commented on 2021-04-20 18:44

@tomwadley I can confirm that's working now. Thanks for the help!

garionion commented on 2021-04-19 09:42

@tomwadley thank you :) i can confirm, that it does work now

tomwadley commented on 2021-04-18 23:18

Thanks for the report @protolomeo and sorry for the delay @garlonion. I reproduced the issue in a chroot. It looks like there were some files in the zip which had characters in the filenames that were causing issues with bsdtar depending on your locale.

I switched to the tarball which I think has fixed the issue. Please let me know. Not sure why I wasn't using the tarball in the first place. I guess there was only a zip available when I created the package.

protolomeo commented on 2021-04-18 22:07

@garlonion I have the same exact issue.

locale -a
C
POSIX
it_IT
it_IT.iso88591
it_IT.utf8
italian

garionion commented on 2021-04-12 08:42

@tomwadley i already tried using no aur helper before i commentet here. And the output from using bsdtar directly is the same:

❯ bsdtar -xf v0.38.0.zip
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Error exit delayed from previous errors.

tomwadley commented on 2021-04-11 22:42

@garionion can you try downloading the zip file manually and extracting it with bsdtar? i.e.

$ wget https://github.com/nvm-sh/nvm/archive/refs/tags/v0.38.0.zip
$ bsdtar -xf v0.38.0.zip

If that works, the next thing I'd try is to build this package without using any AUR helper (download snapshot, run makepkg).

garionion commented on 2021-04-11 19:33

hi, with 0.38.0-1 i get "Failed to extract nvm-0.38.0.zip":

==> Extracting sources...
  -> Extracting nvm-0.38.0.zip with bsdtar
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Pathname cannot be converted from UTF-8 to current locale.
bsdtar: Archive entry has empty or unreadable filename ... skipping.
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract nvm-0.38.0.zip
    Aborting...

My locale is:

❯ locale -a
C
C.utf8
POSIX
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_DE@euro
deutsch
en_US.utf8
german

Do you have any ideas?

tomwadley commented on 2021-03-30 21:26

@CliffJumper I can't reproduce that. I downloaded it manually and double checked - seems fine to me. Is it still happening?

CliffJumper commented on 2021-03-30 20:23

For nvm 0.38.0 I'm getting a mismatch in the sha256 sum for the zip file

foxite commented on 2021-02-18 19:18

@joshsteele21 I found out that the cause was that I used a GUI tool to change the LC_TIME, but the locale I changed it to wasn't installed. I guess that's a bug in KDE.

Changing it to a locale that was actually supported has solved the issue.