0

i'm trying to truffle a project but each time it shows me this message, whereas, i'm sure i installed the truffle successfully.

vagrant@ubuntu-xenial:~/quorum-examples$ cd project
vagrant@ubuntu-xenial:~/quorum-examples/project$ truffle init
truffle: command not found

my ubuntu machine version is 16.04

0

you should install truffle globally to avoid problems with: npm install -g truffle. If you want to install it locally you should specify the truffle root using: ./node_modules/.bin/truffle init
or add the path to ~/.profile or ~/.bashrc

0

qourum-examples is a plain vanilla ubuntu vm. Anything thats missing, including node, npm, truffle and co should be installed first.

-1

Truffle should be installed locally and not in the virtual machine.

Following the tutorial on truffle's site will explain you a lot of things and get you going.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.