Warm tip: This article is reproduced from serverfault.com, please click

Can't initialize tronbox using tronbox cli on Ubuntu

发布于 2020-12-28 14:01:49

I am trying to work on a smart contract in TRON and started with tronbox init following https://developers.tron.network/docs/tron-box-user-guide#initialize-a-tron-box-project

After installing tronbox cli using npm on my Ubuntu I tried to initialize the project but it is throwing the error. I attached a screenshot.

enter image description here

Tried to find the solutions but didn't find the right one. Please kindly let me know the reason why this is happening if anybody faced this one before.

Thanks.

Questioner
user11965553
Viewed
0
Peter Park 2020-12-29 00:15:10

If you use nvm for Node, please install Node 8:

nvm install v8.16.0
nvm use v8.16.0