CatalinIuga
CatalinIuga
DDeno
Created by irlandrew on 11/26/2024 in #help
cors header issue
I think you might be missing some headers from your backend. https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#the_http_response_headers & https://stackoverflow.com/a/46505542 should be of help. You might also need Access-Control-Allow-Credentials: true.
11 replies
DDeno
Created by begoon on 7/26/2024 in #help
Can non-TS artefacts (images, MD files, etc.) be added to the "deno build" bundle?
This package seems to fit: https://jsr.io/@nfnitloop/deno-embedder. There's also an older project, I don't know if it works anymore, but maybe it could still prove helpful: https://github.com/mandarineorg/leaf
6 replies
DDeno
Created by Mr.Bry on 7/16/2024 in #help
[uncaught application error]: TypeError - ctx.request.body is not a function
I belive the way you are getting the request body is outdated: https://github.com/oakserver/oak/blob/f73348c78c6140e1251d20496262e29ed66741c8/CHANGELOG.md?plain=1#L189C6-L189C6 Here's how you parse the body as form data:
const formData = await ctx.request.body.formData();
const formData = await ctx.request.body.formData();
6 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
there's also a stream about monorepos using Deno 2morow if you are interested: https://www.youtube.com/live/OMJKEDvsT7Q?si=id7tc_EeJIXv_K-B
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
well, if it's still not fixed you might wanna file an issue on GitHub
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
I belive ryan also mentioned the team is working on a fix for 1.45.1
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
Might be related to mono repo support that was just introduced just introduced in 1.45.0. I believe there's still some issues that need addressing.
15 replies
DDeno
Created by SB on 7/11/2024 in #help
Mono Repo - Enable Paths
Checklist: - installed Deno? - installed Deno VS code extension? - correct path specified in settings.json? You could also enable Deno for the whole workspace using Ctrl + Shift + P > Deno: Enable and see if that works first hand.
15 replies
DDeno
Created by nicetomytyuk on 5/29/2024 in #help
How to resolve: http2 error: stream error detected: unspecific protocol error detected?
The only useful thing I found was this discussions: https://github.com/denoland/deno/discussions/14851 Beside trying to switch to http:... insted of https:... , you could techically use a TCP connection to make requests. More effort than using fetch since you have to construct the HTTP requests yourself, but it could work. Here's docs about TCP connections: https://docs.deno.com/deploy/api/runtime-sockets
6 replies
DDeno
Created by datmetal1 on 5/23/2024 in #help
what rpc version is https://github.com/deno-libs/rpc?
No description
4 replies