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

服务经常崩掉,提示如下 #9

Closed
songych opened this issue Dec 22, 2020 · 3 comments
Closed

服务经常崩掉,提示如下 #9

songych opened this issue Dec 22, 2020 · 3 comments
Labels
question Further information is requested

Comments

@songych
Copy link

songych commented Dec 22, 2020

`err: TypeError: colors[colorTable[statusCode[0]]] is not a function

@wll8
Copy link
Owner

wll8 commented Dec 23, 2020

感谢使用. 需要了解以下几个信息以供错误重现:

  • 操作系统: 例如 win10x64
  • mockm 版本: 在启动 mockm 时可以看到.
  • nodejs 版本: 使用 node -v 可以看到.

这可能是由于你所使用的终端存在当前 nodejs 版本所不支持的具名颜色导致.

@wll8 wll8 added the question Further information is requested label Dec 23, 2020
@wll8 wll8 closed this as completed in 76a39a2 Dec 23, 2020
@songych
Copy link
Author

songych commented Dec 23, 2020

  • 操作系统:mac os 10.14.6
  • mockm版本:v1.1.15
  • nodejs版本:v10.23

@wll8
Copy link
Owner

wll8 commented Dec 23, 2020

已修复, 并已发布新版本. 你可以添加 答疑QQ群 以方便及时解决你的疑问.

wll8 added a commit that referenced this issue Nov 18, 2022
某些情况出现此错误: `TypeError: colors[colorTable[statusCode[0]]] is not a function`
keyzf pushed a commit to keyzf/mockm that referenced this issue Mar 8, 2024
某些情况出现此错误: `TypeError: colors[colorTable[statusCode[0]]] is not a function`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants