简体   繁体   English

我确定我下载了节点最新版本,但在使用“node --Version”之后在 cmd 上,这是我得到的:node: bad option: --Version

[英]I'm sure I downloaded the node latest version but on cmd after used "node --Version" and this what I got: node: bad option: --Version

I haven't done anything yet, first day trying to learn.我还没有做任何事情,第一天尝试学习。 during the installation, I checked a box that told me it would use Chocolatey to download anything else needed.在安装过程中,我选中了一个框,告诉我它将使用 Chocolatey 下载其他需要的东西。 This part ran on PowerShell, and it looked like everything went well, but after all that the prompt is showing me that message.这部分在 PowerShell 上运行,看起来一切顺利,但毕竟提示向我显示了该消息。

You have to use node -v instead.您必须改用 node -v 。 That is the recommended way according to the docs.根据文档,这是推荐的方式。 Use node -v使用节点 -v

暂无
暂无

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

相关问题 我在节点版本8+中收到以下错误 - I got the following error in node version 8+ 为什么我的节点版本在我的 ubuntu 终端 v10 中,即使我通过浏览器下载了最新的稳定版本? - Why is my node version in my ubuntu terminal v10 even though I downloaded the latest stable version through browser? 如何在Openshift上运行最新版本的节点? - How can I run latest version of node on Openshift? 如何将最新版本的node与yarn一起使用? - How can I use the latest version of node with yarn? 谁能告诉我这个错误是什么我有最新版本的节点仍然无法运行它 - can anyone tell me what's this error is I have the latest version node still not able to run this 我需要在节点 js 中加入巧克力吗?如果我安装了节点 js,我的 windows 会更新到最新版本吗? - do i need chocolatey in node js and will my windows update to latest version if I installed node js? 将我的 npm 从版本 6 升级到版本 7(节点版本为 10)后,我无法为某些项目安装依赖项 - After Upgrading my npm from version 6 to version 7 (node version was 10) I cant install dependencies for some projects 我使用nvm安装了最新的node.js版本,但是当我尝试更新npm时,它不起作用 - I used nvm to install the latest node.js version, but when I tried to update npm, it doesn't work Webdriver.Io需要什么版本的Node? - What version of Node do I Need for Webdriver.Io? 如何知道运行 React 应用程序需要什么版本的节点? - How to know what version of node I need to run a react app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM