1

I am getting the Error: Truffle Box at URL https://github.com/truffle-box/bare-box.git doesn't exist. If you believe this is an error, please contact Truffle support. Even after updating of truffle to 5.1.49.enter image description here

  • @Moosy Do you want to create a Truffle project directory with that? – Alireza Oct 21 at 11:01
  • Yes I want to create a Truffle project dir – Moody Oct 21 at 12:31
  • @Moody I just tried with truffle 5.1.48, node 12.19 and it works. Is your connection behind a proxy? Perhaps it was a temporary network connection issue. Try again if that works or report it to the Truffle project on github. – Ismael Oct 21 at 16:30
0

You used this URL to get Truffle boxes for a project. There is another method to get them. Moreover, because you mentioned that you want to create a Truffle project i provide this answer to you. However, i think this URL doesn't create a directory. Anyways, you can follow this answer to create it perfectly.

  1. In terminal ,go to your folder or directory you want the project be created there.
  2. Enter the command mkdir projectName. This creates the project directory.
  3. Enter the command cd projectName to go in the project directory.
  4. Now, you need to have Truffle boxes. Get them by entering truffle unbox pet-shop .

By this way, now you have a directory with all required boxes and tools. There are some contracts in contracts folder in the updated project directory that you should replace them with your own contract. And there are some migration js files in migratoins folder that you should replace or set them with your required cases. Also, you can use Truffle document to more and better information.

You should always pay attention to the fact that Truffle boxes are not digitally signed that makes a security warning or error. So, a related error maybe emerges.In this case, you should fix it in your OS.

Good Luck

| improve this answer | |
  • @Moody I hope this answer eliminates your problem. Please tell me the result. Thanks – Alireza Oct 21 at 15:39
  • @Moody Could you create the directory successfully by this guide? – Alireza Oct 22 at 10:47

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.