Back To Top

January 18, 2023

[Solved] Nuxt App – Failed to download template from registry: fetch failed

If you are unable to create nuxt app, getting Failed to download template from registry: fetch failed.

If the system is unable to connect to “raw.githubusercontent.com“, you can check the connection by using the command “ping raw.githubusercontent.com” in the command prompt. If you are receiving all packets correctly, the connection is fine. If you are getting request timeouts, you may need to make changes to your system’s hosts file.

Follow this below steps to update hosts file:-

  1. Open the Start menu and search for “Notepad”
  2. Right-click on the Notepad app and select “Run as administrator”
  3. Click “File” and then “Open”
  4. In the file explorer that appears, navigate to the “C:\Windows\System32\drivers\etc” folder
  5. Change the file filter from “Text Documents (.txt)” to “All Files (.*)”
  6. Select the “hosts” file and click “Open”
  7. Scroll to the bottom of the file and add the following line: “ raw.githubusercontent.com
  8. Save the changes by clicking “File” then “Save”
  9. Close Notepad
  10. Restart your PC or clear the DNS cache by running the command “ipconfig /flushdns” in the command prompt


  • It’s important to remember to run notepad as administrator to avoid permission issues.
  • Make sure you’re adding the correct IP address for “raw.githubusercontent.com”
  • It is recommended to take a backup of the original hosts file before making any changes
Prev Post

New Year, New Business: A Guide to Starting a Startup…

Mail Icon


Get Every Weekly Update & Insights

Leave a Comment