Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: The attempt to fetch undefined failed with HTTP status 404. #3653

Closed
ooker777 opened this issue Jul 9, 2024 · 1 comment
Closed

Comments

@ooker777
Copy link

ooker777 commented Jul 9, 2024

I'm using Deno Fresh. Using this setup it works fine. But when I does this replace:

- <section>Slide 1</section>
- <section>Slide 2</section>
+ <section data-markdown>
+   <textarea data-template>
+     ## Slide 1
+   </textarea>
+ </section>

I get this error:

ERROR: The attempt to fetch undefined failed with HTTP status 404.Check your browser's JavaScript console for more details.

Remember that you need to serve the presentation HTML from a HTTP server.

Obviously I'm serving the presentation from a HTTP server by using deno task start. Here is the console:

Source map error: request failed with status 404
Resource URL: null
Source Map URL: renderer.js.map

Source map error: request failed with status 404
Resource URL: null
Source Map URL: installHook.js.map

This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. [localhost:8000](http://localhost:8000/)
 Fresh  Connected to development server. [client.ts:85:16](https://deno.land/x/fresh@1.6.8/src/runtime/entrypoints/client.ts)
Source map error: No sources are declared in this source map.
Resource URL: http://localhost:8000/_frsh/js/1320f74827f55e2021704679c2b2507495a495ac/chunk-FP3POOS6.js
Source Map URL: chunk-FP3POOS6.js.map

Source map error: No sources are declared in this source map.
Resource URL: http://localhost:8000/_frsh/js/1320f74827f55e2021704679c2b2507495a495ac/chunk-JU42DFGK.js
Source Map URL: chunk-JU42DFGK.js.map

XHRGET
http://localhost:8000/true
[HTTP/1.1 404 Not Found 5ms]

I get that you don't support Deno, but is there any suggestion on how to debug this?

@ooker777
Copy link
Author

ooker777 commented Jul 9, 2024

The solution is to create route true and inject markdown text in there. See #3654

@ooker777 ooker777 closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant