Node fast switching version, version rollback (downgrade), version update (upgrade

Node fast switching version, version rollback (downgrade), version update (upgrade)

After recently encountered some node of the pit, such as version 6.3.0 node does not take the company's latest workflow, upgrade to version 10.x node, and not take another set of workflows. (Of course, my main problem is to install reliance, the old project with node installation depends 8.X no problem with the latest node-v.12.13.0 installation depends not succeed)

It will be reported the following error:

After the meal found the following solutions Search:

https://blog.csdn.net/weixin_40817115/article/details/81007774、

Ie the prompts

but!

My problem can not be resolved, even if this feeling may also have to solve the unknown error, after all, he will automatically update the dependencies, may cause incompatibilities

So how to solve this problem?

Very simple to install back to the old version is not enough!

Search meal so the problem has not been resolved, because the company has a gateway. . . Unable to uninstall the software and install external software, but a few found a way to roll back the upgrade and version control are as follows:

1, version management module using the node n (only for mac and linux system)

https://www.jianshu.com/p/a927bcecdbc0

2, switching node tool windows version of a mounting support (i.e. windows environment node version management module n- )

https://www.jianshu.com/p/52b71fc40ebf

3, unloading heavy equipment

over

Guess you like

Origin www.cnblogs.com/wangtong111/p/11861055.html