1.安装环境
- A macOS, Linux, or Windows operating system
- Node.js version in the SemVer range
^14.17.0 || ^16.13.0 || >=18.0.0
- NPM version >= 8 (NPM is usually bundled with Node.js, but can be upgraded independently)
1.1只要安装nodejs最新版就好了
1.2安装jdk
JDK 20下载:官网下载
JDK 8u381下载:Java 8
安装完成后要设置环境变量,
JAVA_HOME=E:\Program Files\java\jdk1.8.0_241
然后打开,点“环境变量”
找到 “path",点”编辑“。点“新建”
在新行里输入这个
%JAVA_HOME%/bin