MrXujiang / h5-Dooring

H5 Page Maker, H5 Editor, LowCode. Make H5 as easy as building blocks. | 让H5制作像搭积木一样简单, 轻松搭建H5页面, H5网站, PC端网站,LowCode平台.
https://dooring.vip
GNU General Public License v3.0
8.96k stars 1.68k forks source link

digital envelope routines::unsupported #154

Closed leo-je closed 1 year ago

leo-je commented 1 year ago

Bundle with webpack 5... Starting the development server...

● Webpack █████████████████████████ building (10%) 0/2 entries 2/2 dependencies 0/2 modules 2 active babel-loader › src/.umi/umi.ts

node:internal/crypto/hash:71 this[kHandle] = new _Hash(algorithm, xofLen); ^

Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:140:10)

leo-je commented 1 year ago

done. export NODE_OPTIONS=--openssl-legacy-provider

materialcoder commented 1 year ago

你好,已收到,谢谢!

sgx-wb commented 8 months ago

NODE_OPTIONS

请问这个是在哪个文件里面添加的,我现在也遇到了同样的问题 image