针对你遇到的问题“a new version of sass-loader is available”,这是一个常见的警告信息,提示你当前项目中使用的 sass-loader 版本不是最新版本,建议你升级到最新版本以获得最佳体验。下面我将按照你提供的 tips 来逐步解答你的问题: 1. 确认当前项目中 sass-loader 的版本 要确认当前项目中 sass-loader 的版...
Heya, thank you for raising this. Nothing to worry about though, it's a warning not an error, I did document it here but basically the more recent releases of SASS loader is not compatible with the Vue CLI's webpack configuration. File size isn't a problem, as they're only loaded i...
WARN A new version of sass-loader is available. Please upgrade for best experience. ERROR Error: Cannot find module 'ansi-styles' Error: Cannot find module 'ansi-styles' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs...
WARN A new version of sass-loader is available. Please upgrade for best experience. 10% building 2/2 modules 0 active(node:41744) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead (node:41744) DeprecationWarning: Tapable.apply is deprecated. Call apply on the ...
WARN A new version of sass-loader is available. Please upgrade for best experience. Solution 1: Serg has provided a helpful comment that has successfully resolved the issue for me. I am sharing the answer with the community in hopes that it will be beneficial to others. ...
项目框架是Vue 3.0.0 + element-plus 1.0.2-beta.28。默认安装了最新的sass-loader,版本太高,降级就可以了。我重新安装了sass-...
安装sass-loader后,运行项目报错this.getOptions is not a function TypeError: this.getOptions is not a function 原因:sass版本过高 降低sass版本 先卸载然后再安装 npm uninstall sass-loader node-sass cnpm install sass-loader@5.0.0node-sass@4.14.1...
Module build failed (from ./node_modules/sass-loader/dist/cjs.js): TypeError: this.getOptions is not a function at Object.loader (/home/etali/Programmation/Web/VueJs/twotter-vueJs/node_modules/sass-loader/dist/index.js:25:24) When I wanted to use scss in my components. I'm ...
I am getting the below error after upgrading sass-loader to 8.x. sass-loader@8.0.0 requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself. My package.json "devDependencies": { "webpack": "^4.39.3", "node-sass": "^4.12.0", "sass-loader...
sass-loader版本过高运行错误TypeError: this.getOptions is not a function 错误提示如下 运行错误提示 原因 是sass-loader安装的版本太高,卸载重新安装7.0版本即可 解决方法 npm uninstall--save less-loader// 安装npm install-D sass-loader@7.x