当前位置:网站首页>uniapp | Compilation error after updating with npm update
uniapp | Compilation error after updating with npm update
2022-08-02 04:01:00 【dumb papa】
Problem description
Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
In the folder where the error was reported, I found that there is a sass-loader dependency package in the directory, because I use uview in my project and have installed sass-loader, so that in node_modulesThere are two sass-loaders, so is it better to delete one?
Solution:
Try to delete the sass-loader inside, vue-cli-plugin-uni can't find the available dependencies and an error will be reported.After deleting the external sass-loader, the node-sass used in my project is incompatible with the internal sass-loader.Finally, after I deleted the sass-loader inside, I copied the sass-loader outside to @dcloudio/vue-cli-plugin-uni/packages/, which was successfully resolved.
边栏推荐
- Eric target penetration test complete tutorial
- Several interesting ways to open PHP: from basic to perverted
- PHP有哪些杀手级超厉害框架或库或应用?
- 一个网络安全小白鼠的学习之路—nmap高级用法之脚本使用
- 4. PHP array and array sorting
- hackmyvm: kitty walkthrough
- PHP8.2的版本发布管理员和发布计划
- php函数漏洞总结
- Alibaba Cloud MySQL 5.7 installation and some major problems (total)
- PHP image compression to specified size
猜你喜欢
随机推荐
hackmyvm-random walkthrough
17.JS条件语句和循环,以及数据类型转换
敏感信息泄露
[league/flysystem] An elegant and highly supported file operation interface
Smart Tips for Frida Scripting in Kali Environment
[symfony/finder]最好用的文件操作库
Turn trendsoft/capital amount of Chinese capital library
Multithreading (implementing multithreading, thread synchronization, producer and consumer)
hackmyvm-random walkthrough
Phpstudy安装Thinkphp6(问题+解决)
CTF-网鼎杯往届题目
Scrapy爬虫遇见重定向301/302问题解决方法
阿里云MySQL5.7安装以及部分主要问题(总和)
Solve the problem of Zlibrary stuck/can't find the domain name/reached the limit, the latest address of Zlibrary
Thread Pool (Introduction and Use of Thread Pool)
4.表单与输入
(6) Design of student information management system
JS对象, 函数和作用域
Advanced Operations on Arrays
Baidu positioning js API







