[英]Can't install react app using npx create-react-app. Node The engine “node” is incompatible with this module
I tried to install a react app using npx create-react-app name. 我试图使用npx create-react-app名称安装React应用。 But I ran into this error: 但是我遇到了这个错误:
css-loader@1.0.0: The engine "node" is incompatible with this module. Expected version ">= 6.9.0 <7.0.0 || >= 8.9.0". Got "8.7.0"
I already updated my homebrew and node, when I ask for my node version it says 11.2.0 so I don't really now what I am doing wrong. 我已经更新了自制软件和节点,当我索要节点版本时,它显示为11.2.0,因此我现在并没有真正做错的事情。
You can also just install the latest version of node from their website 您也可以从他们的网站上安装最新版本的节点
https://nodejs.org/en/download/ https://nodejs.org/en/download/
And everything should work fine 而且一切都应该正常
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.