Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG] node@18 编译失败 #1895

Closed
geekact opened this issue May 5, 2022 · 7 comments
Closed

[BUG] node@18 编译失败 #1895

geekact opened this issue May 5, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@geekact
Copy link

geekact commented May 5, 2022

bug 描述

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

复现步骤

yarn run dev wechat

期望结果
切到node16之后bug消失

版本信息:

  • remax 版本: 2.15.13
  • node 版本: 18.0.0
  • 开发环境: macos
@geekact geekact added the bug Something isn't working label May 5, 2022
@geekact
Copy link
Author

geekact commented May 13, 2022

remax还在升级和维护吗?roadmap有吗?在犹豫是否要做remax的周边。阿里系kpi项目太多了

@yesmeck
Copy link
Member

yesmeck commented May 13, 2022

@geekact 建议用 Taro 吧。

@geekact
Copy link
Author

geekact commented May 13, 2022

@geekact 建议用 Taro 吧。

@yesmeck 一家独大是我不愿看到的。有竞争才有上升的空间,才能互相借鉴取长补短,remax应该是最有希望和taro干上的。加油大佬 :)

@watsonhaw5566
Copy link
Contributor

使用12、 14 或者 16 的版本吧,新版本还不支持

@geekact
Copy link
Author

geekact commented May 19, 2022

webpack/webpack#14532

@sydeEvans
Copy link
Member

建议先用 node16
或者参考这个方案 webpack/webpack#14532 (comment)

@amehito
Copy link

amehito commented Jul 2, 2022

"dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider remax  build -t wechat -w",

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants