Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NodeJS] TypeError: string.replaceAll is not a function #116

Open
xiaotiandada opened this issue Jun 28, 2022 · 0 comments
Open

[NodeJS] TypeError: string.replaceAll is not a function #116

xiaotiandada opened this issue Jun 28, 2022 · 0 comments

Comments

@xiaotiandada
Copy link
Owner

xiaotiandada commented Jun 28, 2022

String.prototype.replaceAll()

错误环境

  1. Github Actions 14x 测试报错
  2. vercel 14x 环境运行报错

解决方案

  1. 升级 v15+
  2. 替换为 replace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant