node页面console.log("汉字");只要碰到汉字就报错,求解答,谢谢!
发布于 8 年前 作者 wdlhao 4082 次浏览 来自 问答

报错信息如下: untitled2.png

3 回复

确实好奇葩的错误,没遇到过,绑定

windows吧 As @Worthy7 pointed out, on Windows, EIO frequently means that you’re running into codepage inconsistencies. See also #3858 (comment). Closing as resolved.

运行下 chcp 850

没有验证过,非windows用户

回到顶部