# "Failed to load url" on terminal every time I try to use Narrat

**URL:** <https://narrat.discourse.group/t/failed-to-load-url-on-terminal-every-time-i-try-to-use-narrat/155>\
**Category:** Help\
**Created:** [28 November 2023 22:23 UTC](https://narrat.discourse.group/t/failed-to-load-url-on-terminal-every-time-i-try-to-use-narrat/155 "2023-11-28T22:23:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AfterGlow](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/afterglow/32/248_2.png) [@AfterGlow](https://narrat.discourse.group/u/AfterGlow)\
**Post date:** [28 November 2023 22:23 UTC](https://narrat.discourse.group/t/failed-to-load-url-on-terminal-every-time-i-try-to-use-narrat/155/1 "2023-11-28T22:23:44Z")

</div>

What can I do about this “Failed to load url”?

Whenever I try to begin a new game (tried just deleting the folders and using them in different places on my laptop) I always get this:

 ![image_2023-11-28_171935318](https://global.discourse-cdn.com/free1/uploads/narrat/original/1X/08b27f92ca20b11330082508c7271d75087e87ba.png)

I’m trying to use it on Opera GX with Windows 11 (it came with the laptop and I’ve been too lazy to change it), I’m not familiar with this engine by any means, so I’m unsure how relevant that is.

Any help would be greatly appreciated, I really want to get further with Narrat, or just use it at all really. Forgive me if the issue has an obvious resolution I overlooked.

---

<div class="post-metadata">

**Author:** ![Narrat-Admin](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/narrat-admin/32/429_2.png) [@Narrat-Admin](https://narrat.discourse.group/u/Narrat-Admin)\
**Post date:** [28 November 2023 22:36 UTC](https://narrat.discourse.group/t/failed-to-load-url-on-terminal-every-time-i-try-to-use-narrat/155/2 "2023-11-28T22:36:15Z")

</div>

It seems there’s a bug in the game template, I’ll need to update the template. For now you can fix the incorrect line of code in the file it’s mentioning in your project (src/config/index.ts)

It should be a file like this, and on line 10 it’s incorrect: [https://github.com/liana-p/narrat-engine/blob/main/packages/create-narrat/template-games/empty/src/config/index.ts](https://github.com/liana-p/narrat-engine/blob/main/packages/create-narrat/template-games/empty/src/config/index.ts)

Change the line to

import { ModuleConfigInput } from ‘narrat’;

---

<div class="post-metadata">

**Author:** ![AfterGlow](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/afterglow/32/248_2.png) [@AfterGlow](https://narrat.discourse.group/u/AfterGlow)\
**Post date:** [29 November 2023 20:06 UTC](https://narrat.discourse.group/t/failed-to-load-url-on-terminal-every-time-i-try-to-use-narrat/155/3 "2023-11-29T20:06:37Z")

</div>

I changed the line you mentioned with VSC, but I am still getting the exact same error. Is there anything else that could be done?

---

<div class="post-metadata">

**Author:** ![Narrat-Admin](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/narrat-admin/32/429_2.png) [@Narrat-Admin](https://narrat.discourse.group/u/Narrat-Admin)\
**Post date:** [1 December 2023 10:44 UTC](https://narrat.discourse.group/t/failed-to-load-url-on-terminal-every-time-i-try-to-use-narrat/155/4 "2023-12-01T10:44:09Z")

</div>

I’ve just fixed the empty game template and released, so if you create a new one it should work (it’s now 3.7.1).

But yeah it was that line, in the `src/config/index.ts` file the line was wrong. you can see what line I changed [here](https://github.com/liana-p/narrat-engine/commit/843d98d519ce53c7483fddbbd55f21994265062e#diff-c97491b0a048a76441ec6fbb8efe34260d6f5d791cb3aac26a559f322b8f6881L10), or simply make a new game
