# NVM安装
下载安装包
设置淘宝镜像源
nvm list
nvm install node版本号
nvm use node版本号
#node安装
设置依赖安装位置
设置环境变量
#项目对node版本有要求,太低版本的兼容性不好。
如:node14与sass的兼容。
npm WARN sass-loader@10.5.2 requires a peer of webpack@^4.36.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN update-browserslist-db@1.0.13 requires a peer of browserslist@>= 4.21.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":&#