vfox
vfox copied to clipboard
[BUG]: Used Node version 12, but encountered an unsupported version error while installing dependencies.
I specified the version in the project using vfox use node@12
Using node -v
to check the version, it indeed confirms the successful switch.
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.
In my system, there are three versions of Node.
"I can install it directly using npm install
."
You didn't hook vfox
correctly.
Please see following docs:
https://vfox.lhan.me/zh-hans/guides/quick-start.html#_2-%E6%8C%82%E8%BD%BDvfox%E5%88%B0%E4%BD%A0%E7%9A%84shell
https://vfox.lhan.me/zh-hans/guides/faq.html#%E5%88%87%E6%8D%A2xxx%E4%B8%8D%E7%94%9F%E6%95%88-vfox-use%E5%91%BD%E4%BB%A4%E4%B8%8D%E7%94%9F%E6%95%88
I have configured it, but I still encounter failures when installing through yarn.