初始代码

This commit is contained in:
hhh
2026-04-02 10:38:23 +08:00
parent d8b4140f50
commit aed67ce1fd
1937 changed files with 447678 additions and 1 deletions

34
yawei-mes/问题整理.md Normal file
View File

@@ -0,0 +1,34 @@
前端:
emitting CompressionPlugin ERROR Error: error:0308010C:digital envelope routines::unsupported
Error: error:0308010C:digital envelope routines::unsupported
at Hash (node:internal/crypto/hash:79:19)
at Object.createHash (node:crypto:139:10)
at D:\YAV\MES\yjh-mes\mes-ui\node_modules\compression-webpack-plugin\dist\index.js:243:42
at CompressionPlugin.compress (D:\YAV\MES\yjh-mes\mes-ui\node_modules\compression-webpack-plugin\dist\index.js:284:9)
at D:\YAV\MES\yjh-mes\mes-ui\node_modules\compression-webpack-plugin\dist\index.js:305:12
at _next1 (eval at create (D:\YAV\MES\yjh-mes\mes-ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:14:17)
at eval (eval at create (D:\YAV\MES\yjh-mes\mes-ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:33:1)
at D:\YAV\MES\yjh-mes\mes-ui\node_modules\copy-webpack-plugin\dist\index.js:91:9
解决方法:
每次执行前先执行下面的语句
```
-- 设置 OpenSSL 旧版提供程序
set NODE_OPTIONS=--openssl-legacy-provider
```
②通过 [nvm](https://github.com/nvm-sh/nvm) 安装 Node.js v16
```
nvm install 16
nvm use 16
```
后端
redis需要启动