安装最新的node.js(v16.13.1)后出现以下错误
错误:Node Sass 尚不支持您当前的环境:运行时不受支持的 Windows 64 位 (93) 有关支持哪些环境的更多信息,请参阅: https: //github.com/sass/node-sass/releases/tag /v4.14.1 我已经为我的应用程序创建了静态页面并使用 sass 和 gulp
我有一个静态页面,在页面中使用 Sass 并使用 gulp 在浏览器上运行。(npm install)。以下是适用于我的应用程序的版本:
Package.json 文件
"scripts": {
"start": "gulp watch"
},
"dependencies": {
"@fortawesome/fontawesome-free": "5.15.1",
"@ttskch/select2-bootstrap4-theme": "^1.5.2",
"bootstrap": "4.5.3",
"bootstrap-datepicker": "^1.9.0",
"jquery": "3.5.1",
"jquery.easing": "^1.4.1",
"select2": "^4.1.0-rc.0",
"gulp": "4.0.2"
},
"devDependencies": {
"browser-sync": "2.26.13",
"del": "6.0.0",
"gulp": "4.0.2",
"gulp-autoprefixer": "7.0.1",
"gulp-clean-css": "4.3.0",
"gulp-header": "2.0.9",
"gulp-plumber": "^1.2.1",
"gulp-rename": "2.0.0",
"gulp-sass": "4.1.0",
"gulp-uglify": "3.0.2",
"merge-stream": "2.0.0"
}
Run Code Online (Sandbox Code Playgroud)
即使使用命令也 …
我在我的应用程序中使用 gulp。
收到错误:- **> 开始
node_modules/.bin/gulp watch 'node_modules' 不被识别为内部或外部命令、可操作程序或批处理文件。**
在package.json中启动脚本:- "scripts": { "start": "node_modules/.bin/gulp watch" },
请帮助我解决这个问题。谢谢