version-fox / version-fox/vfox

[BUG]: Used Node version 12, but encountered an unsupported version error while installing dependencies.

Open
#115 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
4k
Forks
157
Avg merge
1h 3m
Merged PRs (30d)
5

Description

I specified the version in the project using vfox use node@12

image

Using node -v to check the version, it indeed confirms the successful switch.

image

But when using yarn to install dependencies, it prompts that the node version is not supported and indicates that I am using a different node version.

image

In my system, there are three versions of Node.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported sequence with vfox use node@12, node -v, and yarn install, then compare which Node executable each command resolves. Done means dependency installation uses Node 12 consistently, including when multiple Node versions are installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.