-
Notifications
You must be signed in to change notification settings - Fork 172
Description
Hey! 👋
Getting some warnings every time the dev server starts:
npx @react-grab/claude-code@latest && next devnpm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm.
I use pnpm as my main package manager. pnpm sets some global configs (like @jsr:registry for JSR support) that npm doesn't recognize. When npx runs, it inherits these and complains.
$ pnpm config list
@jsr:registry=https://npm.jsr.io/
# ...other configs npm doesn't understandNot breaking anything right now, but the warning says it'll "stop working in the next major version of npm" which is a bit concerning for the future.
Workaround
Adding .npmrc to the project suppresses it:
# .npmrc
loglevel=errorEnvironment
| Tool | Version |
|---|---|
| pnpm | 10.11.0 |
| npm | 11.4.2 |
| node | 24.4.0 |
| OS | macOS arm64 |
Figured I'd report it since you guys use pnpm too (saw the pnpm-workspace.yaml 😄). Not sure if there's anything that can be done on your end, maybe just a note in docs for pnpm users, or shipping a .npmrc with the published package? Totally understand if this is more of an npm/pnpm compatibility thing than a react-grab thing.