解决办法: 修改metronic 中的package.json文件, 将gulp-sass的依赖项版本改为3.2.1即可解决
{ "name": "metronic", "version": "4.5.7", "description": "Metronic by Keenthemes", "main": "gulpfile.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "devDependencies": { "gulp": "^4.0.2", "gulp-connect": "^5.7.0", "gulp-ignore": "^2.0.1", "gulp-minify-css": "^1.2.1", "gulp-prettify": "^0.5.0", "gulp-rename": "^1.2.2", "gulp-rtlcss": "^0.1.4", "gulp-sass": "^3.2.1", "gulp-sourcemaps": "^1.5.2", "gulp-uglify": "^1.4.2" } }
原文地址:https://www.cnblogs.com/oxsir/p/11007972.html
时间: 2024-10-13 03:11:30