Reputation: 49
I get this warning anytime I run something like pnpm i
any idea what might be causing this I know I'm going to have to set a config value I just can't figure out which one and what I need to set it to. Error is below.
WARN Load npm builtin configs failed, you can use "pnpm config ls" to show builtin configs. And then use "pnpm config --global set <key> <value>" to migrate configs from builtin to global.
pnpm config ls
shows the following:
❯ pnpm config ls
; "builtin" config from /Users/tsc/.local/opt/brew/lib/node_modules/npm/npmrc
prefix = "/Users/tsc/.local/opt/brew"
; node bin location = /Users/tsc/.local/opt/brew/Cellar/node/18.11.0/bin/node
; node version = v18.11.0
; npm local prefix = /Users/tsc/Developer/learning/typescript-course
; npm version = 8.19.2
; cwd = /Users/tsc/Developer/learning/typescript-course
; HOME = /Users/tsc
; Run `npm config ls -l` to show all defaults.
Upvotes: 1
Views: 1601
Reputation: 11
zkochan pushed a commit recently -> "fix: downgrade @pnpm/npm-conf
to remove annoying builtin warning (#5521)"
upgrade to pnpm 7.13.6
Upvotes: 1