买了慕课网的一套教程学习小程序 ,以下是学习地址

http://www.youbaobao.xyz/mpvue-docs/guide/dev/prepare.html

安装npm i -D sass-loader node-sass  报错, 导致style 使用lang=“scss” 的时候直接就报错

Module build failed: ModuleBuildError: Module build failed: TypeErr
or: this.getResolve is not a function

使用mpvue初始化小程序 出现的问题

解决问题:

降低了sass-loader 的版本号安装成功

npm install [email protected] --save-dev

【vue 报错:】Module build failed: Error: Cannot find module 'node-sass'

再次安装 cnpm install [email protected]

相关文章:

  • 2021-10-08
  • 2021-09-28
  • 2021-08-21
  • 2022-01-29
  • 2022-12-23
  • 2021-10-30
  • 2021-05-04
  • 2022-12-23
猜你喜欢
  • 2021-10-27
  • 2021-11-28
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2021-04-22
相关资源
相似解决方案