简体   繁体   English

在Macos上将节点升级到最新版本时出错

[英]Error when upgrade nodes to latest version on Macos

Now I try to update Nodejs on Macos according to this guide . 现在,我尝试根据本指南在Macos上更新Nodejs。 However, one error is here 但是,这里有一个错误

错误图片

When I try to run Sudo npm install -gn again, another error comes up 当我尝试再次运行Sudo npm install -gn时,出现另一个错误

错误图片1

Could someone help me how to fix it? 有人可以帮我解决问题吗?

If you want to update node, a better way to do it would be to just download the installer again and run it. 如果要更新节点,一种更好的方法是再次下载安装程序并运行它。

https://nodejs.org/en/download/ https://nodejs.org/en/download/

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

相关问题 将 expo cli 升级到最新版本。 我收到这个错误 - Upgrade expo cli to latest version. i got this error 如何将nodejs升级到最新版本 - How to upgrade nodejs to latest version 无法升级Node js最新版本 - unable to upgrade node js latest version 通过 npm 在 windows 中升级到最新的节点版本 - Upgrade to latest node version in windows through npm 无法将npm升级到Mac上的最新版本 - Cannot upgrade npm to the latest version on Mac 当gitbook初始化时出现错误错误加载最新版本 - when gitbook init there are error Error loading version latest 升级反应后刷新页面,下一个最新版本出现补水错误?有任何可能的方法来解决这个问题吗? - refresh a page after upgrade react and next latest version got re-hydration error ?give any possible way to fix this issue? 当尝试升级到最新的Hapi.js(9.x)时,我们得到:错误:未知的处理程序:目录 - When attempting to upgrade to latest Hapi.js (9.x) we get: Error: Unknown handler: directory 如何将npm版本升级到最新版本? Ubuntu显示安装成功,但未升级版本 - How to upgrade npm version to latest? Ubuntu shows successful install but doesn't upgrade version 警告您必须升级到最新版本的 google-spreadsheet - Warning you must upgrade to the latest version of google-spreadsheet
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM