当前位置:网站首页>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.
边栏推荐
- Function hoisting and variable hoisting
- PHP的几个有趣的打开方式:从基本到变态
- 敏感信息泄露
- 14.JS语句和注释,变量和数据类型
- Orasi: 1 vulnhub walkthrough
- Eric target penetration test complete tutorial
- PHP realizes the automatic reverse search prompt of the search box
- Using PHPMailer send mail
- Phpstudy installs Thinkphp6 (problem + solution)
- ES6 array extension methods map, filter, reduce, fill and array traversal for…in for…of arr.forEach
猜你喜欢
随机推荐
What are the killer super powerful frameworks or libraries or applications for PHP?
Pycharm打包项目为exe文件
Query the indexes of all tables in the database and parse them into sql
[league/climate]一个功能健全的命令行功能操作库
vim编辑模式
Introduction to PHP (self-study notes)
Solve the problem of uni - app packaged H5 website to download image
利用cookie获取admin权限 CTF基础题
Smart Tips for Frida Scripting in Kali Environment
After the mailbox of the Pagoda Post Office is successfully set up, it can be sent but not received.
(6) Design of student information management system
(8) requests、os、sys、re、_thread
(1) introduction to Thinkphp6, installation view, template rendering, variable assignment
4.表单与输入
一个网络安全小白鼠的学习之路——nmap的基本使用
IO stream, encoding table, character stream, character buffer stream
(8) requests, os, sys, re, _thread
Advanced Operations on Arrays
敏感信息泄露
Scrapy爬虫遇见重定向301/302问题解决方法









