ionic ValidationError: Invalid options object. Sass Loader has been initialized using an options obj

  • Post author:
  • Post category:其他


ionic 项目执行命令 ionic cordova platform android 时,出现错误 ValidationError: Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema

解决方案:

重新安装sass-loader


npm uninstall –save-dev sass-loader


npm install –save-dev sass-loader@7.1.0



版权声明:本文为liwan09原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。