Skip to content

Commit 9b78d05

Browse files
committed
docs(upgrading): say when npm 10 hits the edgesOut error, and that pnpm installs the tree
Claude-Session: https://claude.ai/code/session_01QSeKYoSKoNUygbCoMBTbGc Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2863852 commit 9b78d05

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

‎content/docs/upgrading.mdx‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ command for this move; it is four steps you run yourself.
8585
what older scaffolds wrote) moves entirely here. Read whatever
8686
peer-dependency warnings this prints — the `--frozen-lockfile` install your CI
8787
runs skips resolution and will never print them.
88+
89+
With npm 10, `npm install` can exit `1` with
90+
`npm error Cannot read properties of null (reading 'edgesOut')` while it
91+
resolves `vitest` 4.1, which the 18.6.0 and 19 templates and the showcase
92+
depend on. Measured on npm 10.9.9 with no lockfile: a `package.json`
93+
naming only `vitest@^4.1.11` fails, and so do the 18.6.0 showcase's
94+
dependencies at 18.6.0 and at `19.0.0-next.3`; the 19 `create-objectstack`
95+
template, whose `overrides` entry pins `vitest`, resolves. npm 11 resolves
96+
the showcase's tree, and pnpm, the manager the scaffold declares in
97+
`engines`, installs it: install with pnpm.
8898
3. **Check the protocol declaration your app ships** — `engines.protocol` in
8999
your `defineStack` manifest. It names the protocol **major**, so a move inside
90100
one major leaves it alone, and a major boundary is where it changes. Move it
@@ -119,7 +129,8 @@ command for this move; it is four steps you run yourself.
119129

120130
Add the package with the manager that installed the project: in a pnpm
121131
project, `npm install --save-dev` exits `1` with
122-
`npm error Cannot read properties of null (reading 'edgesOut')`.
132+
`npm error Cannot read properties of null (reading 'edgesOut')` (npm 10
133+
meets that error outside a pnpm project too: step 2).
123134
The list names every skill the catalog carried during 17.x, plus `objectui`,
124135
which a 17.x project installed from the objectui repository, and a name that
125136
is not installed is skipped; `npx skills remove --all` does the same when

0 commit comments

Comments
 (0)