Files
reverse-engineering-anything/docs/getting-started
92c61a7c61 fix(setup): do not persist versioned launcher paths (#15123)
* fix(setup): do not persist versioned launcher paths

A command saved from nvm, Volta, Homebrew Cellar, mise, or a package cache stops launching after an upgrade or prune, and doctor then treats that registration as foreign.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): recognize default nvm installation layouts

The usual POSIX install is ~/.nvm/versions/node, and nvm-windows stores each release in nvm\v<version>. Both were still saved, and the launcher guide still told setup to keep a cache path.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): keep durable Windows and mise launcher paths

Default Windows Volta and pnpm dlx stores were still persisted, and mise's stable latest alias was dropped before the Aube launcher could use it.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): keep a mise shim when Node itself is versioned

A versioned running runtime was rejected before a durable Node alias could be selected, and fnm's installed tree was still saved. Doctor now tells version-manager and package-cache paths apart from a session directory.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): reject versioned aube store targets and align install routes

Reject version-tagged node_modules/.mise store targets beneath mise latest aliases (while keeping verified outer Aube shims), reject asdf/nodenv/nvs/nix/snap versioned paths, fix the nvm-sensitive Windows runtime assertion in setupLauncherAlias tests, and align installation docs, install.sh, and getting-started guidance with durable-path registration.

* fix(setup): recognize custom manager env roots and align onboarding docs

Pass environment through versionedLauncherPath and transientLauncherRemediation so custom version-manager env roots are classified accurately while preserving fnm_multishells as a session path; fix Windows PowerShell rea.cmd and Linux PATH persistence in get-started; align remaining setup quick starts and affected setup acceptance/boundary tests.

* fix(setup): reject session paths and configured package caches

Windows fnm session directories and custom npm or Bun cache roots were still eligible for client registration. Quick starts now require a durable Node install, and the website setup copy no longer uses a PowerShell-invalid command chain.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): resolve configured launcher roots

* docs(setup): align persistent launcher prerequisites

* docs(setup): persist paths in Bash login profiles

* fix(setup): name the missing saved launcher path

* fix(setup): reject Bunx execution-cache launchers

* docs(setup): add writable npm prefix prerequisite

* style(website): format prefix prerequisites

* chore(website): format setup introduction

---------

Co-authored-by: Ambuj Agrawal <aseachambuj@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:10:33 +08:00
..