You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--corepack-enabled
Enable corepack support for each new installation. This will make fnm call `corepack enable` on every Node.js installation. For more information about corepack see https://nodejs.org/api/corepack.html
[env: FNM_COREPACK_ENABLED]
Not sure if it makes sense across all those commands? Especially with the help text of each new installation.
When used with fnm install (with --latest / --lts / or version), default version is not set, nor aliases. Corepack is enabled, but probably should have kept the other expected behaviour.
Reproduction:
$ docker run --rm -it rust bash
$ curl -fsSL https://fnm.vercel.app/install | bash &&source~/.bashrc
$ fnm install --lts --corepack-enabledInstalling Node v20.9.0 (x64)Enabling corepack for Node v20.9.0
# `default` + `lts-latest` aliases are not set:
$ fnm list* v20.9.0* system
# Default version was not set (required to use corepack/node), nor `lts-latest`alias (must now know major version):
$ fnm use 20
# pnpm command is successful (corepack is enabled):
$ corepack prepare pnpm@latest --activate && pnpm --version8.10.2
$ fnm --versionfnm 1.35.1
The text was updated successfully, but these errors were encountered:
Reference:
Docs repeat the following snippet across commands:
each new installation
.fnm install
(with--latest
/--lts
/ or version), default version is not set, nor aliases. Corepack is enabled, but probably should have kept the other expected behaviour.Reproduction:
The text was updated successfully, but these errors were encountered: