【发布时间】:2022-01-10 16:58:33
【问题描述】:
Terminal output image - 一些随机字符,而不是: eth gas reporter output table
这是使用 gas-reporter 模块运行 npx hardhat test 时的输出
操作系统:Mac osx 12.0.1 终端模拟器:Iterm2 字体:Hack Nerd 字体 外壳:zsh
还使用其他字体、其他终端仿真器和 shell 进行了测试。
运行 npx hardhat test > out.txt - 将输出重定向到文件也确实包含损坏的数据
我很确定这在 Linux 上正确显示 我使用相同的终端应用程序(Iterm2)连接到 linux 服务器并运行相同的命令,它正确显示:
【问题讨论】:
-
看起来你正在向终端输出二进制数据。见this question
-
不,它不是二进制文件,我使用 ssh(同一终端)连接到 linux 服务器并运行该命令,一切看起来都很好@JordanBonecutter
标签: npm terminal blockchain ethereum hardhat