-
Notifications
You must be signed in to change notification settings - Fork 201
zos-lib 2.4.1 installed as dependency for zos 2.3.1 #1075
Comments
Hello, @jchittoda, I'm so sorry to hear this!. This is basically happening because in prior versions to Two possible workarounds to your issue would be:
Sorry for the inconvenience, and thank you so much for using ZeppelinOS in your book! If you have any other issue or question we will be pleased to help 🙂 |
Thanks @jcarpanelli for quick reply. Unfortunately solution 1 didn't work. I did run the following commands but still the same problem:
I would have to update the whole chapter of the book to adopt for solution 2, which is to use the latest 2.4.1 version. The book is in the final review stage. I will check with publisher, if I can re-write it. |
True, it doesn't work if you install the package globally, but it should work when installing it locally. Could you please run:
in a project and then run
If you decide to go with 2), Take into account that the only breaking change we introduced was removing the
EDIT: Also, running |
Thanks @jcarpanelli the commands did worked on my machine as well. Thanks for the solution. |
Glad you solved it 🎉! I'm closing this issue then. If you face any other problem, please do not hesitate to reopen it and drop your questions/concerns! |
I had been using zos
2.3.1
in the sample project in one of the chapter in my book https://www.amazon.com/Mastering-Solidity-production-ready-contracts-blockchain/dp/1789532418/ref=sr_1_7?keywords=mastering+solidity&qid=1562604381&s=gateway&sr=8-7.The instruction to install zos is given as
npm install -g zos
in the book chapter, however the book is in the final review stage and I can update the command to usenpm install -g [email protected]
, but this command is also broken. As zos 2.3.1 is installing zos-lib 2.4.1 as dependency which brake the build.Following is the error after installing the zos with command
npm install -g [email protected]
:The text was updated successfully, but these errors were encountered: