当前位置:网站首页>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.
边栏推荐
- (8) requests、os、sys、re、_thread
- PHP实现搜索框的自动反查提示
- hackmyvm: controller walkthrough
- (3) Thinkphp6 database
- (4) Function, Bug, Class and Object, Encapsulation, Inheritance, Polymorphism, Copy
- [sebastian/diff] A historical change extension library for comparing two texts
- (1) the print () function, escape character, binary and character encoding, variables, data type, the input () function, operator
- (5) 模块与包、编码格式、文件操作、目录操作
- hackmyvm: again walkthrough
- hackmyvm-random walkthrough
猜你喜欢

(7) 浅学 “爬虫” 过程 (概念+练习)

CTF-网鼎杯往届题目

Solve the problem of Zlibrary stuck/can't find the domain name/reached the limit, the latest address of Zlibrary

CSRF(跨站请求伪造)

What are the PHP framework?

13. JS output content and syntax

(4) Function, Bug, Class and Object, Encapsulation, Inheritance, Polymorphism, Copy

(3)Thinkphp6数据库

DarkHole: 2 vulnhub walkthrough

hackmyvm: kitty walkthrough
随机推荐
Offensive and defensive world - novice MISC area 1-12
(8) requests、os、sys、re、_thread
JS对象, 函数和作用域
SQL: DDL, DML, DQL, DCL corresponding introduction and demonstration
(3) string
DVWA靶机安装教程
Orasi: 1 vulnhub walkthrough
MySql Advanced -- Constraints
[symfony/mailer]一个优雅易用的发送邮件类库
php函数漏洞总结
(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
VIKINGS: 1 vulnhub walkthrough
Multithreading (implementing multithreading, thread synchronization, producer and consumer)
PHP的几个有趣的打开方式:从基本到变态
Thread Pool (Introduction and Use of Thread Pool)
Solve the problem of Zlibrary stuck/can't find the domain name/reached the limit, the latest address of Zlibrary
IO streams, byte stream and byte stream buffer
[league/climate] A robust command-line function manipulation library
Scrapy crawler encounters redirection 301/302 problem solution
阿里云MySQL5.7安装以及部分主要问题(总和)