若依启动报错95% emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported

时间: 2023-10-28 19:58:46 浏览: 1931
你遇到的报错是由于编译过程中使用了不受支持的加密算法引起的。这个报错常见于使用webpack打包项目时,可能是由于配置或依赖关系出现了问题。 要解决这个问题,你可以尝试以下几个步骤: 1. 确保你的Node.js版本是最新的,并更新相关的依赖库。 2. 检查你的webpack配置文件,特别是与压缩插件(CompressionPlugin)相关的配置。确认使用了支持的加密算法。 3. 检查你的依赖库版本,特别是与webpack和相关插件的版本。确保它们兼容并且更新到最新版本。 4. 如果你使用了自定义的加密算法或加密库,请确保它们是最新版本且与webpack兼容。 如果以上步骤都没有解决问题,你可以尝试通过搜索引擎或向开发社区寻求帮助,查看是否有其他人遇到了类似的问题,并尝试他们提供的解决方案。
相关问题

95% emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported

这个错误是由于在Vue项目中使用了CompressionPlugin插件而引起的。具体错误信息是"95% emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported"。根据引用,这个错误与OpenSSL的版本有关。在node.js V17版本中最近发布的OpenSSL3.0对允许算法和密钥大小增加了严格的限制,可能会对生态系统造成一些影响。因此,可能是由于OpenSSL3.0的限制导致CompressionPlugin插件在构建过程中出现了错误。 解决这个问题的方法之一是在构建命令中设置一个环境变量,以使用旧版本的OpenSSL。根据引用,可以在构建命令中添加以下内容: "build:prod": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build" 这样设置后,构建命令将使用旧版本的OpenSSL,从而解决了该错误。请确保在使用该命令时,将其替换为实际使用的命令。 另外,引用提到了一种方法,即通过打开终端并按照说明粘贴一些命令来解决该问题。但是由于这个方法不一定适用于所有情况,所以可能需要尝试其他解决方案。 总结起来,95% emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported错误是由于OpenSSL3.0的限制导致CompressionPlugin插件在构建过程中出现了错误。解决该问题的方法之一是在构建命令中设置一个环境变量,使用旧版本的OpenSSL。另外,还可以尝试其他解决方案,如引用中提到的方法。

5% emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported

这个错误出现在Vue项目中,错误信息为"5% emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported"。根据引用中提到的错误码,这个错误的原因是因为在node.js V17版本中最近发布的OpenSSL3.0对允许的算法和密钥大小增加了限制,可能对系统造成一些影响。要解决这个问题,可以尝试以下方法:引用中提到的方法,即在项目的构建脚本中设置一个环境变量,以使用旧版本的OpenSSL,具体代码如下所示:"SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build"。这样设置后,再次运行构建命令,应该就可以避免这个错误的出现。如果这个方法不起作用,你还可以尝试引用中提到的方法,即打开终端并按照说明粘贴一些命令。请注意,这个方法可能不适用于所有情况,但它可能对解决问题有帮助。

相关推荐

> chataiyy@1.0.0 dev > webpack-dev-server --inline --progress --config build/webpack.dev.conf.js (node:16004) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. (Use node --trace-deprecation ... to show where the warning was created) 10% b 11 12% b 12% b 12% b 13% building modules 25/30 modules 5 active ...!D:\桌面\少儿编程\test2\chatbot\src\App.vue{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }. 14% b 15% b 16 16 16 16 16 95% emitting WARNING Compiled with 2 warnings 00:53:50 This dependency was not found: * async_hooks in ./node_modules/body-parser/node_modules/raw-body/index.js, ./node_modules/on-finished/index.js To install it, you can run: npm install --save async_hooks 终止批处理操作吗(Y/N)? Y PS D:\桌面\少儿编程\test2\chatbot> node server/index.js node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module 'D:\桌面\少儿编程\test2\chatbot\server\index.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.15.0 PS D:\桌面\少儿编程\test2\chatbot> npm run dev > chataiyy@1.0.0 dev > webpack-dev-server --inline --progress --config build/webpack.dev.conf.js (node:13908) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. (Use node --trace-deprecation ... to show where the warning was created) 10% b 11 12% b 12% b 12% b 12% building modules 24/27 modules 3 active ...!D:\桌面\少儿编程\test2\chatbot\src\App.vue{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }. 14% b 14% b 16 95% emitting WARNING Compiled with 2 warnings 00:58:19 This dependency was not found: * async_hooks in ./node_modules/body-parser/node_modules/raw-body/index.js, ./node_modules/on-finished/index.js To install it, you can run: npm install --save async_hooks

98% after emitting CopyPlugin ERROR Failed to compile with 121 errors 下午1:57:47 error in ../workflows/module/workflow/module/workflowModal.vue?vue&type=style&index=0&id=1daa1fe1&lang=scss&scoped=true Syntax Error: ^ Can't find stylesheet to import. ╷ 2 │ @import "@dataspherestudio/shared/common/style/variables.scss"; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet in D:\gdongt\packages\workflows\module\workflow\module\workflowModal.vue (line 2, column 9) @ D:/gdongt/node_modules/vue-style-loader??ref--8-oneOf-1-0!D:/gdongt/node_modules/css-loader??ref--8-oneOf-1-1!D:/gdongt/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!D:/gdongt/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!D:/gdongt/node_modules/cache-loader/dist/cjs.js??ref--0-0!D:/gdongt/node_modules/vue-loader/dist??vue-loader-options!../workflows/module/workflow/module/workflowModal.vue?vue&type=style&index=0&id=1daa1fe1&lang=scss&scoped=true 4:14-475 15:3-20:5 16:22-483 @ ../workflows/module/workflow/module/workflowModal.vue?vue&type=style&index=0&id=1daa1fe1&lang=scss&scoped=true @ ../workflows/module/workflow/module/workflowModal.vue @ ../workflows/module sync ([a-z|A-Z])+.vue$ @ ./node_modules/dynamic-modules.js @ ./src/dynamic-apps.js @ ./src/main.js @ multi (webpack)-dev-server/client?http://192.168.100.70:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js error in ../dataService/module/dataManagement/apiIndex.vue?vue&type=style&index=0&id=4fda01e9&lang=scss&scoped=true

WARN "css.modules" option in vue.config.js is deprecated now, please use "css.requireModuleExtension" instead. INFO Starting development server... 98% after emitting CopyPlugin WARNING Compiled with 17 warnings 09:43:57 warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'computed' was not found in 'vue' warning in ./src/router/index.js "export 'default' (imported as 'VueRouter') was not found in 'vue-router' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'defineComponent' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'getCurrentInstance' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'h' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'inject' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'nextTick' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'onActivated' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'onDeactivated' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'onUnmounted' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'provide' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'reactive' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'ref' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'shallowRef' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'unref' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'watch' was not found in 'vue' warning in ./node_modules/vue-router/dist/vue-router.mjs "export 'watchEffect' was not found in 'vue'这个报错因为什么

最新推荐

recommend-type

LED芯片原理与基础知识大全

LED是英文light emitting diode(发光二极管)的缩写,它的基本结构是一块电致发光的半导体材料, 置于一个有引线的架子上,然后四周用环氧树脂密封,即固体封装,所以能起到保护内部芯 线的作用,所以LED的抗震性能...
recommend-type

微信小程序-番茄时钟源码

微信小程序番茄时钟的源码,支持进一步的修改。番茄钟,指的是把工作任务分解成半小时左右,集中精力工作25分钟后休息5分钟,如此视作种一个“番茄”,而“番茄工作法”的流程能使下一个30分钟更有动力。
recommend-type

激光雷达专题研究:迈向高阶智能化关键,前瞻布局把握行业脉搏.pdf

电子元件 电子行业 行业分析 数据分析 数据报告 行业报告
recommend-type

安享智慧理财测试项目Mock服务代码

安享智慧理财测试项目Mock服务代码
recommend-type

zigbee-cluster-library-specification

最新的zigbee-cluster-library-specification说明文档。
recommend-type

管理建模和仿真的文件

管理Boualem Benatallah引用此版本:布阿利姆·贝纳塔拉。管理建模和仿真。约瑟夫-傅立叶大学-格勒诺布尔第一大学,1996年。法语。NNT:电话:00345357HAL ID:电话:00345357https://theses.hal.science/tel-003453572008年12月9日提交HAL是一个多学科的开放存取档案馆,用于存放和传播科学研究论文,无论它们是否被公开。论文可以来自法国或国外的教学和研究机构,也可以来自公共或私人研究中心。L’archive ouverte pluridisciplinaire
recommend-type

实现实时数据湖架构:Kafka与Hive集成

![实现实时数据湖架构:Kafka与Hive集成](https://img-blog.csdnimg.cn/img_convert/10eb2e6972b3b6086286fc64c0b3ee41.jpeg) # 1. 实时数据湖架构概述** 实时数据湖是一种现代数据管理架构,它允许企业以低延迟的方式收集、存储和处理大量数据。与传统数据仓库不同,实时数据湖不依赖于预先定义的模式,而是采用灵活的架构,可以处理各种数据类型和格式。这种架构为企业提供了以下优势: - **实时洞察:**实时数据湖允许企业访问最新的数据,从而做出更明智的决策。 - **数据民主化:**实时数据湖使各种利益相关者都可
recommend-type

用 Python 画一个可以动的爱心

好的,我可以帮助您使用Python来绘制一个动态的爱心。您可以使用turtle库来实现。以下是实现代码: ```python import turtle import math # 设置画布和画笔 canvas = turtle.Screen() canvas.bgcolor("black") pencil = turtle.Turtle() pencil.speed(0) pencil.color("red", "pink") pencil.pensize(3) # 定义爱心函数 def draw_love(heart_size, x_offset=0, y_offset=0):
recommend-type

JSBSim Reference Manual

JSBSim参考手册,其中包含JSBSim简介,JSBSim配置文件xml的编写语法,编程手册以及一些应用实例等。其中有部分内容还没有写完,估计有生之年很难看到完整版了,但是内容还是很有参考价值的。
recommend-type

"互动学习:行动中的多样性与论文攻读经历"

多样性她- 事实上SCI NCES你的时间表ECOLEDO C Tora SC和NCESPOUR l’Ingén学习互动,互动学习以行动为中心的强化学习学会互动,互动学习,以行动为中心的强化学习计算机科学博士论文于2021年9月28日在Villeneuve d'Asq公开支持马修·瑟林评审团主席法布里斯·勒菲弗尔阿维尼翁大学教授论文指导奥利维尔·皮耶昆谷歌研究教授:智囊团论文联合主任菲利普·普雷教授,大学。里尔/CRISTAL/因里亚报告员奥利维耶·西格德索邦大学报告员卢多维奇·德诺耶教授,Facebook /索邦大学审查员越南圣迈IMT Atlantic高级讲师邀请弗洛里安·斯特鲁布博士,Deepmind对于那些及时看到自己错误的人...3谢谢你首先,我要感谢我的两位博士生导师Olivier和Philippe。奥利维尔,"站在巨人的肩膀上"这句话对你来说完全有意义了。从科学上讲,你知道在这篇论文的(许多)错误中,你是我可以依