Package Details: nvm 0.39.7-1

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: 282
Popularity: 7.95
First Submitted: 2015-03-14 21:57 (UTC)
Last Updated: 2023-12-06 07:03 (UTC)

Pinned Comments

tomwadley commented on 2020-09-04 22:14 (UTC) (edited on 2020-09-04 22:15 (UTC) by tomwadley)

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

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

tomwadley commented on 2021-09-27 14:19 (UTC)

@meijin this package doesn't create those files. nvm is for installing a local (per-user) version of node. The local version you install won't conflict with the system version.

meijin commented on 2021-09-27 07:57 (UTC) (edited on 2021-09-27 07:57 (UTC) by meijin)

maybe it should be conflict with node/npm packages? or provide them? because otherwise when something is trying to install node/npm as dep:

error: failed to commit transaction (conflicting files)
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-access.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-adduser.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-audit.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-bin.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-bugs.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-cache.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-ci.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-completion.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-config.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-dedupe.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-deprecate.md exists in filesystem
npm: /usr/lib/node_modules/npm/docs/content/commands/npm-dist-tag.md exists in filesystem
...

tomwadley commented on 2021-05-24 18:35 (UTC)

No problem @alexnortung, all good :)

alexnortung commented on 2021-05-24 17:47 (UTC)

@tomwadley Yes my bad, I feel pretty dump for commenting on the wrong package.

tomwadley commented on 2021-05-22 19:10 (UTC)

@alexnortung this package does not install node. This package is for nvm, which is a shell script you can use to install node. Did you mean to comment on the session-desktop package?

alexnortung commented on 2021-05-22 18:55 (UTC)

Installing does not work at the moment. I get an error:

error session-desktop@1.6.3: The engine "node" is incompatible with this module. Expected version "^10.19.0". Got "10.13.0"
error Found incompatible module.

It seems like the PKGBUILD is installing the 10.13.0 version of node. But for some reason it expects 10.19.0.

protolomeo commented on 2021-04-20 18:44 (UTC)

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

garionion commented on 2021-04-19 09:42 (UTC)

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

tomwadley commented on 2021-04-18 23:18 (UTC)

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 (UTC)

@garlonion I have the same exact issue.

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