Skip to content

npm warnings when running via npx with pnpm installed #78

@0x00-sys

Description

@0x00-sys

Hey! 👋

Getting some warnings every time the dev server starts:

npx @react-grab/claude-code@latest && next dev
npm 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 understand

Not 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=error

Environment

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions