当前位置:网站首页>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.
边栏推荐
- (3) string
- Several interesting ways to open PHP: from basic to perverted
- Advanced Operations on Arrays
- hackmyvm-hopper预排
- PHP realizes the automatic reverse search prompt of the search box
- Basic use of v-on, parameter passing, modifiers
- Praying: 1 vulnhub walkthrough
- Masashi: 1 vulnhub walkthrough
- vim编辑模式
- 敏感信息泄露
猜你喜欢
Phonebook
IP门禁:手把手教你用PHP实现一个IP防火墙
VIKINGS: 1 vulnhub walkthrough
(1) the print () function, escape character, binary and character encoding, variables, data type, the input () function, operator
ES6 iterator explanation example
(3) 字符串
(5) Modules and packages, encoding formats, file operations, directory operations
Alfa: 1 vulnhub walkthrough
hackmyvm-hopper walkthrough
SQL classification, DQL (Data Query Language), and corresponding SQL query statement demonstration
随机推荐
easyswoole uses redis to perform geoRadiusByMember Count invalid fix
VIKINGS: 1 vulnhub walkthrough
hackmyvm: controller walkthrough
Masashi: 1 vulnhub walkthrough
The Error in the render: "TypeError: always read the properties of null '0' (reading)" Error solution
Phonebook
[league/flysystem]一个优雅且支持度非常高的文件操作接口
17.JS条件语句和循环,以及数据类型转换
MOMENTUM: 2 vulnhub walkthrough
[symfony/mailer] An elegant and easy-to-use mail library
Eric target penetration test complete tutorial
查询数据库中所有表的索引,并且解析成sql
After the mailbox of the Pagoda Post Office is successfully set up, it can be sent but not received.
14.JS语句和注释,变量和数据类型
[campo/random-user-agent] Randomly fake your User-Agent
When PHP initiates Alipay payment, the order information is garbled and solved
Advanced Operations on Arrays
Masashi: 1 vulnhub walkthrough
[sebastian/diff] A historical change extension library for comparing two texts
Praying: 1 vulnhub walkthrough