-
Notifications
You must be signed in to change notification settings - Fork 924
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
buildAndDeploy error #1
Comments
It's possible that the script files (the ones ending in .sh) had extra characters added to them when git cloned them to your system. First, let's make sure that the clone operation worked correctly. Open a terminal window and navigate to the Chapter03 folder and type the following command: Assuming the file exists, try the following: In your chapter03 folder, type the following command:
If you have any problems, please copy the errors and add a comment to this stream. |
The scripts are available
Unfortunately running fix_scripts.sh doesn't fix the issue, see output of deployNetworks.sh below.
|
Right, I misunderstood the error. composer is one of the binaries which needs to be installed. This indicates that either the binaries did not install, or else docker is not running. I just ran a quick test and this is a binary installation issue. So, you need to re-run the installation command. The installation process is described in the README.pdf file in Chapter 3. If you have never run the setup_OSX.sh command, then running that command is your starting point. Simply change to your ZeroToBlockchain folder and run the command:
If you did run this command, then you need to reinstall the binaries, because the previous installation failed. in that case, do the following:
|
Great, that worked, thx. |
Hi, I'm facing a similar issue except that I'm on Ubuntu inside VirtualBox. In the last step of Chapter 3 i.e. Check out the network, I'm getting the following errors while executing ./buildAndDeploy: ./createArchive.sh: line 80: composer: command not found |
The error you are seeing indicates that the composer cli (command line interface) did not successfully install. This happens as part of the first of two install scripts for Ubuntu:
If you did not run these scripts, they are required and handle the set-up for your environment. If you have already run them, then please rerun the first one and let me know if you have any errors. Please remember that Composer requires 64-bit Ubuntu and the install scriipts are set to run against Ubuntu 16.04. You can check your version by typing in the following command:
which should return amd64. If it returns i386 then you have installed 16-bit Ubuntu and need install the 64-bit version, rerun both setup scripts and then reclone your repository. |
I had already run those scripts but re-running setup_Ubuntu_Part_1.sh worked. Thanks @rddill-IBM |
I have Ubuntu 18.04.1 LTS and ran setup_Ubuntu_Part_1.sh but kept getting the error composer: command not found. Do i have only one option to go back to 16.04 LTS? Is there no way to upgrade these scripts to 18? |
Please update your copy of the master repo to the latest release ( https://github.com/rddill-IBM/ZeroToBlockchain/releases/tag/1.6.2 ). This has support for Ubuntu 18. |
After updating to latest 1.6.2... I kept getting the error as attached. But after couple of restarts and rerunning setup_Ubuntu_Part_1.sh and Part_2.sh fixed the error and displayed the page localhost:3000/explorer. Part_2, I have to run with sudo. Part_1 hangs at the eula notice, I believe we can kill it without harming. Just sharing for others - Don't give up, keep trying. Huge thanks to @rddill-IBM |
To get around eula notice, use tab and spaces. |
Hi Bob,
In Chapter 3, on executing ./buildAndDeply i get the following error:
./deployNetwork.sh: line 80: composer: command not found
I am running MacOS. Any clue?
The text was updated successfully, but these errors were encountered: