neo-blockchain-toolkit
neo-blockchain-toolkit copied to clipboard
neoxp command not found
I followed the first quick start tutorial https://ngdenterprise.com/neo-tutorials/quickstart1.html to install the toolkit. Then created a privatenet, followed by attempting to create a new smart contract. Upon choosing a name and language (I choose Python) I get the following error in the terminal.
> Executing task: neoxp create -f test/testTests.neo-express <
/bin/bash: neoxp: command not found
The terminal process "/bin/bash '-c', 'neoxp create -f test/testTests.neo-express'" failed to launch (exit code: 127).
Terminal will be reused by tasks, press any key to close it.
My assumption was that the toolkit is a "all-in-one" kit and that I wouldn't have to do any additional manual installations. Under that assumption I don't think this error should be happening.
So I just ran into this again and it seems that if I run the "build" task (ctrl + shift + p, Task: Run Build Task, <contract name>: build
) it instead executes the commands from the task with the label <contract name>: create-private-chain
. The latter happens to be the first task in the list of tasks in tasks.json
for the specific contract. Not sure if this is actually a VSCode issue instead of a extension issue.