vue3项目导入异常Error: @vitejs/PLUGIN-vue requires vue (>=3.2.13)

vue3项目导入异常
1、异常提示如下:

failed TO LOAD config FROM D:\ws-projects\vite.co
nfig.js
error WHEN STARTING dev SERVER:
Error: @vitejs/PLUGIN-vue requires vue (>=3.2.13) OR @vue/compiler-sfc TO be pre
sent IN the dependency tree.
  

在这里插入图片描述
2、解决办法:
具体命令如下:
npm install vue@3.2.13 --save-dev

在这里插入图片描述
一般都是开发者捐赠支持的提示,打开一个github的链接之后,会显示需要打赏捐赠的信息,此时如果不想npm install --no-fund捐赠或者跳过这个提示的话,直接在后面加–NO-fund即可,
解决办法:

npm install --no-fund

npm notice created a lockfile as package-lock.json. You should commit this file

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\c
okidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents
2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"
)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\w
tchpack-chokidar2\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents
1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64
})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\w
bpack-dev-server\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents
1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64
})
npm WARN eslint-loader@2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but none
s installed. You must install peer dependencies yourself.

added 1603 packages from 951 contributors in 90.575s

137 packages are looking for funding
  run `npm fund` for details


D:\ws-projects\RuoYi-Vue-master\ruoyi-ui>npm fund
ruoyi@3.8.6
+-- https://github.com/chalk/chalk?sponsor=1
| `-- chalk@4.1.0
+-- https://opencollective.com/webpack
| `-- compression-webpack-plugin@5.0.2, sass-loader@10.1.1, webpack@4.46.0, sch
ma-utils@2.7.1, terser-webpack-plugin@2.3.8, copy-webpack-plugin@5.1.2, css-loa
er@3.6.0, schema-utils@3.3.0
+-- https://opencollective.com/core-js
| `-- core-js@3.25.3, core-js-compat@3.32.1
+-- https://opencollective.com/eslint
| `-- eslint@7.15.0
+-- https://opencollective.com/lint-staged
| `-- lint-staged@10.5.3
+-- https://github.com/sponsors/sindresorhus
| `-- screenfull@5.0.2, camelcase@6.3.0, html-tags@3.3.1, cli-spinners@2.9.0, d
faults@1.0.4, parse-json@5.2.0, make-dir@3.1.0, p-limit@2.3.0, ansi-escapes@4.3
2, figures@3.2.0, type-fest@0.21.3, onetime@5.1.2, is-docker@2.2.1, get-stream@
.2.0, is-stream@2.0.1, p-map@4.0.0, globals@12.4.0, import-fresh@3.3.0, strip-j
on-comments@3.1.1, cli-truncate@2.1.0, log-symbols@4.1.0, is-unicode-supported@
.1.0, log-update@4.0.0
+-- https://opencollective.com/babel
| `-- @babel/core@7.22.11
+-- https://opencollective.com/browserslist
| `-- browserslist@4.21.10, caniuse-lite@1.0.30001525, update-browserslist-db@1
0.11
+-- https://tidelift.com/funding/github/npm/browserslist
| `-- browserslist@4.21.10, update-browserslist-db@1.0.11
+-- https://github.com/sponsors/ai
| `-- browserslist@4.21.10, caniuse-lite@1.0.30001525, update-browserslist-db@1
0.11
+-- https://tidelift.com/funding/github/npm/caniuse-lite
| `-- caniuse-lite@1.0.30001525
+-- https://github.com/sponsors/ljharb
| `-- resolve@1.22.4, is-core-module@2.13.0, supports-preserve-symlinks-flag@1.
.0, shell-quote@1.8.1, minimist@1.2.8, qs@6.11.2, side-channel@1.0.4, call-bind
1.0.2, get-intrinsic@1.2.1, object-inspect@1.12.3, has-proto@1.0.1, has-symbols
1.0.3, object.values@1.1.7, util.promisify@1.0.1, define-properties@1.2.0, es-a
stract@1.22.1, has-property-descriptors@1.0.0, array-buffer-byte-length@1.0.0,
rraybuffer.prototype.slice@1.0.1, available-typed-arrays@1.0.5, es-to-primitive
1.2.1, function.prototype.name@1.1.6, get-symbol-description@1.0.0, globalthis@
.0.3, gopd@1.0.1, is-array-buffer@3.0.2, is-callable@1.2.7, is-negative-zero@2.
.2, is-regex@1.1.4, is-shared-array-buffer@1.0.2, is-string@1.0.7, is-typed-arr
y@1.1.12, is-weakref@1.0.2, object.assign@4.1.4, regexp.prototype.flags@1.5.0,
afe-array-concat@1.0.0, safe-regex-test@1.0.0, string.prototype.trim@1.2.7, str
ng.prototype.trimend@1.0.6, string.prototype.trimstart@1.0.6, typed-array-byte-
ength@1.0.0, typed-array-byte-offset@1.0.0, typed-array-length@1.0.4, unbox-pri
itive@1.0.2, which-typed-array@1.1.11, has-tostringtag@1.0.0, is-date-object@1.
.5, is-symbol@1.0.4, functions-have-names@1.2.3, has-bigints@1.0.2, which-boxed
primitive@1.0.2, is-bigint@1.0.4, is-boolean-object@1.1.2, is-number-object@1.0
7, object.getownpropertydescriptors@2.1.7, array.prototype.reduce@1.0.6, qs@6.1
.0, deep-equal@1.1.1, is-arguments@1.1.1, object-is@1.1.5, traverse@0.6.7
+-- https://github.com/sponsors/feross
| `-- safe-buffer@5.2.1, base64-js@1.5.1, ieee754@1.2.1, arch@2.2.0
+-- https://www.patreon.com/feross
| `-- safe-buffer@5.2.1, base64-js@1.5.1, ieee754@1.2.1, arch@2.2.0
+-- https://feross.org/support
| `-- safe-buffer@5.2.1, base64-js@1.5.1, ieee754@1.2.1, arch@2.2.0
+-- https://github.com/sponsors/epoberezkin
| `-- ajv@6.12.6
+-- https://github.com/avajs/find-cache-dir?sponsor=1
| `-- find-cache-dir@3.3.2
+-- https://github.com/sponsors/isaacs
| `-- glob@7.2.3, rimraf@3.0.2
+-- https://paulmillr.com/funding/
| `-- chokidar@3.5.3, async-each@1.0.6
+-- https://github.com/sponsors/jonschlinkert
| `-- picomatch@2.3.1
+-- https://tidelift.com/funding/github/npm/autoprefixer
| `-- autoprefixer@9.8.8
+-- https://opencollective.com/postcss/
| `-- postcss@7.0.39, postcss-load-config@2.1.2
+-- https://github.com/sponsors/wooorm
| `-- vendors@1.0.4
+-- https://github.com/sponsors/fb55
| `-- css-what@3.4.2, domelementtype@2.3.0, htmlparser2@6.1.0, css-select@4.3.0
 css-what@6.1.0
+-- https://github.com/fb55/entities?sponsor=1
| `-- entities@2.2.0
+-- https://github.com/chalk/ansi-styles?sponsor=1
| `-- ansi-styles@4.3.0
+-- https://github.com/prettier/prettier?sponsor=1
| `-- prettier@2.8.8
+-- https://github.com/chalk/wrap-ansi?sponsor=1
| `-- wrap-ansi@7.0.0
+-- https://github.com/fb55/htmlparser2?sponsor=1
| `-- htmlparser2@6.1.0
+-- https://github.com/fb55/domhandler?sponsor=1
| `-- domhandler@4.3.1
+-- https://github.com/fb55/domutils?sponsor=1
| `-- domutils@2.8.0
+-- https://github.com/cheeriojs/dom-serializer?sponsor=1
| `-- dom-serializer@1.4.1
+-- https://github.com/fb55/nth-check?sponsor=1
| `-- nth-check@2.1.1
+-- https://tidelift.com/funding/github/npm/loglevel
| `-- loglevel@1.8.1
+-- https://tidelift.com/funding/github/npm/sockjs-client
| `-- sockjs-client@1.6.1
+-- https://github.com/sponsors/RubenVerborgh
| `-- follow-redirects@1.15.2
+-- https://github.com/sponsors/mysticatea
| `-- eslint-utils@2.1.0, regexpp@3.2.0, vue-eslint-parser@7.11.0
+-- https://github.com/sindresorhus/execa?sponsor=1
| `-- execa@4.1.0
`-- https://github.com/chalk/slice-ansi?sponsor=1
  `-- slice-ansi@4.0.0
D:\ws-projects\RuoYi-Vue-master\ruoyi-ui>npm install --no-fund
npm WARN eslint-loader@2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but none i
s installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.3 (node_modules\fse
vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\wa
tchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"
})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\we
bpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"
})

up to date in 10.897s

D:\ws-projects\RuoYi-Vue-master\ruoyi-ui>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mfbz.cn/a/100369.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

【SpringSecurity】十、JWT工具类

文章目录 1、jwt类库与相关依赖2、工具类3、总结 1、jwt类库与相关依赖 <!-- 添加jwt的依赖 --> <dependency><groupId>com.auth0</groupId><artifactId>java-jwt</artifactId><version>3.11.0</version> </dependency>…

unity 跨屏显示

1.代码 /*Type:设置分辨率*/ using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Runtime.InteropServices;public class ScreenManager : MonoBehaviour {[HideInInspector]//导入设置窗口函数 [DllImport("…

执行SQL文件出现【Unknown collation “utf8mb4_0900_ai_ci”】的解决方案

执行SQL文件出现【Unknown collation “utf8mb4_0900_ai_ci”】的解决方案 一、背景描述二、报错原因三、解决方案 一、背景描述 从服务器MySQL中导出数据为SQL执行脚本后&#xff0c;在本地执行导出的SQL脚本。 报错&#xff1a;Unknown collation “utf8mb4_0900_ai_ci” …

浅谈城市轨道交通视频监控与AI视频智能分析解决方案

一、背景分析 地铁作为重要的公共场所交通枢纽&#xff0c;流动性非常高、人员大量聚集&#xff0c;轨道交通需要利用视频监控系统来实现全程、全方位的安全防范&#xff0c;这也是保证地铁行车组织和安全的重要手段。调度员和车站值班员通过系统监管列车运行、客流情况、变电…

【C++从0到王者】第二十五站:多继承的虚表

文章目录 前言一、多继承的虚函数表二、菱形继承与菱形虚拟继承的虚函数表1.菱形继承2.菱形虚拟继承的虚函数表 三、抽象类1.抽象类的概念2.接口继承与实现继承 总结 前言 其实关于单继承的虚函数表我们在上一篇文章中已经说过了&#xff0c;就是派生类中的虚表相当于拷贝了一…

高版本springboot3.1配置Eureka客户端问题

只需要按上面配置好&#xff0c;然后高版本的Eureka&#xff0c;不需要EnableEurekaClient这个注解了&#xff0c;直接SpringBoot启动&#xff0c;就可以注册到注册中心。 /*********************************************************/ /** * 开启eureka客户端功能 */ //E…

说说Flink中的State

分析&回答 基本类型划分 在Flink中&#xff0c;按照基本类型&#xff0c;对State做了以下两类的划分&#xff1a; Keyed State&#xff0c;和Key有关的状态类型&#xff0c;它只能被基于KeyedStream之上的操作&#xff0c;方法所使用。我们可以从逻辑上理解这种状态是一…

如何有效防止服务器被攻击?

随着互联网的快速发展&#xff0c;服务器安全问题日益引起人们的关注。近期&#xff0c;全球范围内频繁发生的服务器攻击事件引发了广泛关注。为了保护企业和个人的数据安全&#xff0c;有效防止服务器被攻击已成为迫在眉睫的任务。 首先&#xff0c;及时更新服务器的操作系统和…

Visual Studio编译出来的程序无法在其它电脑上运行

在其它电脑&#xff08;比如Windows Server 2012&#xff09;上运行Visual Studio编译出来的应用程序&#xff0c;结果报错&#xff1a;“无法启动此程序&#xff0c;因为计算机中丢失VCRUNTIME140.dll。尝试重新安装该程序以解决此问题。” 解决方法&#xff1a; 属性 -> …

Linux线程互斥

目录 一、线程不安全 1.线程不安全现象 2.线程不安全程序的特质 3.线程不安全程序的原因 二、线程互斥 1.基本概念 2.锁 &#xff08;1&#xff09;认识锁 &#xff08;2&#xff09;互斥锁的使用 &#xff08;3&#xff09;代码的改造 3.锁的本质 &#xff08;1&a…

读word模板批量生成制式文件

文章目录 1、Maven依赖2、.docx或.doc格式的word模板准备3、读word模板&#xff0c;批量替换代码域&#xff0c;生成文件&#xff0c;demo4、结果展示 1、Maven依赖 <dependency><groupId>fr.opensagres.xdocreport</groupId><artifactId>fr.opensagre…

企业级智能PDF及文档处理SDK GdPicture.NET 14.2 Crack

企业级智能PDF及文档处理SDK GdPicture.NET 提供了一组非常先进的 API&#xff0c;这些 API 利用了人工智能、机器学习和模糊逻辑算法等尖端技术。经过超过 15 年的持续研究和对创新的专注&#xff0c;我们的 SDK 已成为市场上针对PDF、OCR、条形码、文档成像和各种格式最全面的…

Redis数据结构总结

Redis 是一款开源的&#xff0c;内存中的数据结构存储系统&#xff0c;它可以用作数据库、缓存和消息代理。Redis 支持多种类型的数据结构&#xff0c;如字符串&#xff08;String&#xff09;、哈希&#xff08;Hashes&#xff09;、列表&#xff08;Lists&#xff09;、集合&…

C盘扩容遇到的问题(BitLocker解密、)

120G的C盘不知不觉的就满了&#xff0c;忍了好久终于要动手了。 尽管电脑-管理--磁盘管理里可以进行磁盘大小调整&#xff0c;但由于各盘都在用&#xff0c;不能够连续调整&#xff0c;所以选用DiskGenius。 # DiskGenius调整分区大小遇到“您选择的分区不支持无损调整容量” …

LINQ详解(查询表达式)

什么是LINQ&#xff1f; LINQ(语言集成查询)是将查询功能直接集成到C#中。数据查询表示简单的字符串&#xff0c;在编译时不会进行类型检查和IntelliSense(代码补全辅助工具)支持。 在开发中&#xff0c;通常需要对不同类型的数据源了解不同的查询语句&#xff0c;如SQL数据库…

老师们快看过来,这里有使用ChatGPT当助教的方法

最近OpenAI官方博客发布了一篇文章How teachers are using ChatGPT&#xff08;老师们如何使用ChatGPT&#xff09;&#xff0c;讲的是老师们如何在教学中使用ChatGPT&#xff0c;其中有几个例子挺好的&#xff0c;我转述一下&#xff0c;希望对你有用。 制定教案 第一个例子…

【大数据】Flink 详解(六):源码篇 Ⅰ

Flink 详解&#xff08;六&#xff09;&#xff1a;源码篇 Ⅰ 55、Flink 作业的提交流程&#xff1f;56、Flink 作业提交分为几种方式&#xff1f;57、Flink JobGraph 是在什么时候生成的&#xff1f;58、那在 JobGraph 提交集群之前都经历哪些过程&#xff1f;59、看你提到 Pi…

Android Aidl跨进程通讯(二)--异常捕获处理

学更好的别人&#xff0c; 做更好的自己。 ——《微卡智享》 本文长度为1623字&#xff0c;预计阅读5分钟 前言 上一篇《Android Aidl跨进程通讯的简单使用》中介绍了跨进程的通讯处理&#xff0c;在进程间的数据通过Aidl实现了交互&#xff0c;项目中经常会遇到Bug&#xff0c…

浅谈为什么磁盘慢会导致Linux负载飙升

先说原因结论 在Linux系统上&#xff0c;load average这个指标基本失去了作用&#xff0c;因为你不知道它代表什么意思&#xff0c;当看到load average很高的时候&#xff0c;你不知道是runnable进程太多还是uninterruptible sleep进程太多&#xff0c;也就无法判断是CPU不够用…

乐理-笔记

乐理笔记整理 1、前言2、认识钢琴键盘及音名3、升降号、还原号4、如何区分同一音名的不同键&#xff1f;5、各类音符时值的关系6、歌曲拍号7、拍号的强弱规律8、歌曲速度&#xff08;BPM&#xff09;9、附点音符10、三连音12、唱名与简谱数字13、自然大调&#xff08;白键&…
最新文章