Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neoxp command not found #29

Open
ixje opened this issue Feb 21, 2022 · 1 comment
Open

neoxp command not found #29

ixje opened this issue Feb 21, 2022 · 1 comment

Comments

@ixje
Copy link

ixje commented Feb 21, 2022

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.

image

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.

@ixje
Copy link
Author

ixje commented Mar 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant