{"id":2282,"date":"2019-01-02T21:32:02","date_gmt":"2019-01-02T08:32:02","guid":{"rendered":"http:\/\/www.talkcrypto.org\/blog\/?p=2282"},"modified":"2019-01-04T21:38:28","modified_gmt":"2019-01-04T08:38:28","slug":"truffle-box-at-url-doesnt-exist","status":"publish","type":"post","link":"https:\/\/www.talkcrypto.org\/blog\/2019\/01\/02\/truffle-box-at-url-doesnt-exist\/","title":{"rendered":"Truffle Box at URL &#8230; doesn&#8217;t exist"},"content":{"rendered":"<p>If you have just created a new folder and ran truffle init and got an error similar to below<\/p>\n<p>truffle init<br \/>\nDownloading&#8230;<br \/>\nError: Truffle Box at URL https:\/\/github.com\/truffle-box\/bare-box.git doesn&#8217;t exist. If you believe this is an error, please contact Truffle support.<br \/>\nat Request._callback (\/usr\/local\/lib\/node_modules\/truffle\/build\/webpack:\/packages\/truffle-box\/lib\/utils\/unbox.js:50:1)<br \/>\nat Request.self.callback (\/usr\/local\/lib\/node_modules\/truffle\/build\/webpack:\/~\/request\/request.js:185:1)<br \/>\nat Request.emit (events.js:189:13)<br \/>\nat Request. (\/usr\/local\/lib\/node_modules\/truffle\/build\/webpack:\/~\/request\/request.js:1157:1)<br \/>\nat Request.emit (events.js:189:13)<br \/>\nat IncomingMessage. (\/usr\/local\/lib\/node_modules\/truffle\/build\/webpack:\/~\/request\/request.js:1079:1)<br \/>\nat Object.onceWrapper (events.js:277:13)<br \/>\nat IncomingMessage.emit (events.js:194:15)<br \/>\nat endReadableNT (_stream_readable.js:1107:12)<br \/>\nat process.internalTickCallback (internal\/process\/next_tick.js:72:19)<\/p>\n<p>&nbsp;<\/p>\n<p>then try to do &#8220;npm uninstall -g truffle&#8221; and then &#8220;npm install -g truffle&#8221;. When I did this I got:<\/p>\n<p class=\"p1\"><span class=\"s1\">Preparing to download<\/span><\/p>\n<p class=\"p1\"><span class=\"s2\">\u2714<\/span><span class=\"s1\"> Downloading<\/span><\/p>\n<p class=\"p1\"><span class=\"s2\">\u2714<\/span><span class=\"s1\"> Cleaning up temporary files<\/span><\/p>\n<p class=\"p1\"><span class=\"s2\">\u2714<\/span><span class=\"s1\"> Setting up box<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">Unbox successful. Sweet!<\/span><\/p>\n<p><a href=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-04-at-9.34.34-pm.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-2283 size-full\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-04-at-9.34.34-pm.png\" alt=\"\" width=\"790\" height=\"506\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-04-at-9.34.34-pm.png 790w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-04-at-9.34.34-pm-300x192.png 300w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-04-at-9.34.34-pm-768x492.png 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/a><\/p>\n<p>Frustrating that it happened in the first place!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have just created a new folder and ran<\/p>\n","protected":false},"author":1,"featured_media":2284,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2282","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ethereum"],"featured_image_urls":{"full":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff.jpg",300,124,false],"thumbnail":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff-150x124.jpg",150,124,true],"medium":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff-300x124.jpg",300,124,true],"medium_large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff.jpg",300,124,false],"large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff.jpg",300,124,false],"1536x1536":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff.jpg",300,124,false],"2048x2048":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff.jpg",300,124,false],"chromenews-featured":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff.jpg",300,124,false],"chromenews-large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff.jpg",300,124,false],"chromenews-medium":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/01\/truff.jpg",300,124,false]},"author_info":{"info":["seandotau"]},"category_info":"<a href=\"https:\/\/www.talkcrypto.org\/blog\/category\/ethereum\/\" rel=\"category tag\">Ethereum<\/a>","tag_info":"Ethereum","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/comments?post=2282"}],"version-history":[{"count":1,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2282\/revisions"}],"predecessor-version":[{"id":2285,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2282\/revisions\/2285"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/media\/2284"}],"wp:attachment":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/media?parent=2282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/categories?post=2282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/tags?post=2282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}