New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn Load nom builtin configs failed. #5518
Comments
It was caused by this change: pnpm/npm-conf#7 I am not sure how to properly fix it as it looks like an issue when pnpm is installed with brew on macOS. I don't have a mac to test it. Help would be appreciated. |
I did install pnpm via brew so this does make sense. A fix would be wonderful, not sure which key value to change. |
I'm facing the same issue while my pnpm is not installed by brew, it is installed by corepack. Locations are as follows: $ l $(which npm)
/usr/local/bin/npm ⇒ ../lib/node_modules/npm/bin/npm-cli.js
$ l $(which pnpm)
/usr/local/bin/pnpm ⇒ ../lib/node_modules/corepack/dist/pnpm.js
which runs ~/.cache/node/corepack/pnpm/7.13.5/dist/pnpm.cjs The problem is that one cannot resolve |
Well, the previous issue is #5404. Once npm builtin config cannot be resolved, the warning appears. But with npm installed via brew in macOS ARM there exists a prefix error which will crash pnpm, that's the reason why I add the warning. Maybe I need to distinguish between abnormal and normal cases but it's not easy. Another solution is find a right way to locate npm. Then we don't need this warning. |
That is a little frustrating, I'm not sure what to suggest. Luckily other than the warning being a little annoying functionality is completely seamless. |
Maybe we can remove the above warning, and add more tips about it while prefix error occurs?
I think it won't be annoying to add some message after the existing error. |
Probably we should remove the warning. Maybe we can add a new command for issues like this. For instance, |
That sounds good. I'd like to work on implementing it. |
Ok |
Sounds like a good fix! As it doesn't hinder functionality as far as I can tell... Not run into any issues using it so far anyway. |
how can i fix this warning on my ubuntu system. |
I am on windows and having the same issue |
The warning is not printed anymore in the latest pnpm version. |
pnpm version: 7.13.5
Code to reproduce the issue:
pnpm i
Expected behavior: pnpm installs dependencies without any errors.
Actual behavior: receive following warning:
Additional information:
pnpm config ls
prints:The text was updated successfully, but these errors were encountered: