Replies: 2 comments
-
I got past the pnpm update part by being explicit with |
Beta Was this translation helpful? Give feedback.
-
What I found so far is there is no "set" for setting "update-notifier" but both "updateNotifier" and "confirmModulesPurge" can be set via the --config flag when running the pnpm i command. I found this through googling and AI help but nothing points to anything in the official docs and I can't find this using the search option in docs. Is there a list of all available config options that can be set this way? The docs mention that pnpm uses the same config as npm but it looks like setting those configs is not all normalized. In the npm docs I find update-notifier that can be set with "config set" but it can't be set that way in pnpm. In the npm docs I don't find confirm-modules-purge and in pnpm it exists and can be set both ways.
|
Beta Was this translation helpful? Give feedback.
-
At first I was getting the warning about node_modules will be deleted and reinstalled (Y/n) * true
Not sure what "true" is about and if I enter Y and hit enter it just seems stuck in a loop.
Now since v10.5.1 just released, I get the update available... run pnpm add -g pnpm to update message and it is just stuck there.
How do I deal with this in a docker image that is trying to build?
Is there a way to just ignore all of this and install my dependencies?
Here is my simple docker file that would have worked fine before v10 release. Never mind the stage naming and comments, I modified from another project that had more complex staging.
Now I can make this work by adding --force to the pnpm i command but it doesn't seem like that is the right solution.
What am I forcing and why am I having to?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions