pnpm fetching nodejs #7140
starbirdtech383
started this conversation in
General
Replies: 1 comment 1 reply
-
It is happening because you have use-node-version in your Maybe we could check the already available Node.js version and skip installing it no matter it was installed not by pnpm. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in our project github runner, i am seeing that pnpm command is doing fetch nodejs inspite of nodejs is already installed
and this happens for every build and sometimes the download takes longer resulting in timeouts or build fail.
https://github.com/pnpm/pnpm/blob/main/env/plugin-commands-env/src/node.ts#L67
while stubbling up on this, i came across above line of code and trying to understand whats happening here and have few questions below
Q1. is this the line which is trying to fetch during any pnpm command?
Q2. why is nodejs directory being checked inside pnpm_home directory and is this the bug or some kind of pre-requisite linking expected to be there and somehow in my setup it isnt?
Q3. any suggestions on how to fix?
Appreciate any inputs here.
Beta Was this translation helpful? Give feedback.
All reactions