当前位置:网站首页>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.
边栏推荐
- hackmyvm: controller walkthrough
- Eric target penetration test complete tutorial
- Turn trendsoft/capital amount of Chinese capital library
- IO stream, encoding table, character stream, character buffer stream
- DVWA drone installation tutorial
- The roll call system and array elements find maximum and minimum values for sorting of objects
- Offensive and defensive world - novice MISC area 1-12
- Orasi: 1 vulnhub walkthrough
- PHP基金会三月新闻公告发布
- Shuriken: 1 vulnhub walkthrough
猜你喜欢
(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
[sebastian/diff] A historical change extension library for comparing two texts
(7) superficial "crawlers" process (concept + practice)
hackmyvm-hopper walkthrough
Eric target penetration test complete tutorial
PHP入门(自学笔记)
Pycharm打包项目为exe文件
Alfa: 1 vulnhub walkthrough
Kali install IDEA
12. What is JS
随机推荐
Masashi: 1 vulnhub walkthrough
[symfony/mailer] An elegant and easy-to-use mail library
Add a full image watermark to an image in PHP
SQL classification, DQL (Data Query Language), and corresponding SQL query statement demonstration
(5) 模块与包、编码格式、文件操作、目录操作
Turn trendsoft/capital amount of Chinese capital library
Phpstudy installs Thinkphp6 (problem + solution)
Alfa: 1 vulnhub walkthrough
CSRF(跨站请求伪造)
php函数漏洞总结
(4) Function, Bug, Class and Object, Encapsulation, Inheritance, Polymorphism, Copy
VIKINGS: 1 vulnhub walkthrough
hackmyvm: again walkthrough
Introduction to PHP (self-study notes)
easyswoole uses redis to perform geoRadiusByMember Count invalid fix
The roll call system and array elements find maximum and minimum values for sorting of objects
What are the PHP framework?
CTF入门笔记之SQL注入
[mikehaertl/php-shellcommand] A library for invoking external command operations
IO stream, encoding table, character stream, character buffer stream