简体   繁体   English

如何在windows中升级Nodejs的版本

[英]How to upgrade version of Nodejs in windows

Firebase CLI v11.0.0 is incompatible with Node.js v12.21.0 Please upgrade Node.js to version >= 14.18.0 Firebase CLI v11.0.0 与 Node.js v12.21.0 不兼容请将 Node.js 升级到 >= 14.18.0 版本

I did every possible thing, including reinstalling and npm i node@14.18.0 but failed to upgrade my node js version我做了所有可能的事情,包括重新安装和 npm i node@14.18.0 但未能升级我的节点 js 版本

how can i do that?我怎样才能做到这一点?

I Also Have Same Problem But After Search found that i have Heroku install on my device which install node of old version我也有同样的问题,但是搜索后发现我的设备上安装了 Heroku,它安装了旧版本的节点

  1. uninstall node.卸载节点。
  2. try node -v in cmd在 cmd 中尝试 node -v
  3. if you get version than their is another node install如果您获得的版本比他们的版本是另一个节点安装
  4. found location of that node by search in window search通过在窗口搜索中搜索找到该节点的位置

This Help me这帮助我

uninstall Heroku卸载 Heroku

You can use this one:你可以使用这个:

npm install -g npm

Hope this helps!希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM