错误:
Syntax Error: Error: Missing binding G:\ones\fontend\oms\node_modules\_node-sass@7.0.1@node-sass\vendor\win32-x64-83\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 14.x
Found bindings for the following environments:
- Unknown environment (.DS_Store)
- OS X 64-bit with Node.js 17.x
- Windows 64-bit with Node.js 16.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
问题:node-sass的版本跟当前运行环境不匹配的原因
卸载node,重新安装对应的版本
解决方法: 输入命令: npm rebuild node-sass 更新一下:npm update 运行: npm run dev