-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
jorge@MacBook-Pro % cat example.json
[
{
"constant": false,
"inputs": [],
"name": "f",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]
%jorge@MacBook-Pro backendfs % abi2solidity -i example.json -o test.sol
/Users/jorge/.yarn/bin/abi2solidity: line 1: use strict: command not found
/Users/jorge/.yarn/bin/abi2solidity: line 3: syntax error near unexpected token (' /Users/jorge/.yarn/bin/abi2solidity: line 3: var _commander = require('commander');'
Tested with:
jorge@MacBook-Pro backends % node -v
v16.16.0
v14.20.0
and also 18. x (latest)
Monterey 12.4
bash and zsh.
Is this a Typescript, Javascript, or Node.js Package? I Couldn't use it programmatically either and report after I can actually use it on the command line.
EDIT: actually installation is broken, at least global.
We need better documentation. I will contribute whatever I can.
Metadata
Metadata
Assignees
Labels
No labels