metronic 4.5.7开发环境下, 在Windows 10上安装了10.16.0版本的node js之后,导致node sass无法加载

2021-05-31 22:03

阅读:547

标签:依赖   license   map   pen   back   nod   source   rip   lcs   

解决办法: 修改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"
  }
}

 

metronic 4.5.7开发环境下, 在Windows 10上安装了10.16.0版本的node js之后,导致node sass无法加载

标签:依赖   license   map   pen   back   nod   source   rip   lcs   

原文地址:https://www.cnblogs.com/oxsir/p/11007972.html


评论


亲,登录后才可以留言!