无法在 Ubuntu 上使用 tronbox cli 初始化 tronbox

时间:2020-12-28 14:01:49

标签: blockchain smartcontracts tron

我正在尝试在 TRON 中处理智能合约并从 https://developers.tron.network/docs/tron-box-user-guide#initialize-a-tron-box-project 之后的 tronbox init 开始

在我的 Ubuntu 上使用 npm 安装 tronbox cli 后,我尝试初始化该项目,但它抛出了错误。 我附上了截图。

enter image description here

试图找到解决方案,但没有找到合适的解决方案。 如果有人以前遇到过这种情况,请告诉我发生这种情况的原因。

谢谢。

1 个答案:

答案 0 :(得分:0)

如果您使用 nvm for Node,请安装 Node 8:

nvm install v8.16.0
nvm use v8.16.0