Sabah Kaldwin
`deno cache` consistently failing with the same error
error: error sending request for url (https://deno.land/std@0.152.0/http/negotiation.ts): dispatch task is gone: runtime dropped the dispatch task
It's not always the
negotiation
file, sometimes it's other dependencies also from deno.land/std
that's running into the issue.
Any clues on how to fix this?3 replies
How to import a npm package that relies on Wasm
I'm trying to import
npm:@biscuit-auth/biscuit-wasm@0.4.0
and I wrote the following script:
However, I get the following error:
Looking at this stackoverflow post https://stackoverflow.com/questions/43122335/what-does-stream-did-not-contain-valid-utf-8-mean tells me that this error message comes from rust directly.
Separately, I also tried out the following in node js:
and ran it with
and it ran fine with no issues:
Could this be part of the solution? Does deno have a --experimental-wasm-modules
or something similar that I need to use, or is this an issue with how Deno imports wasm packages from npm?1 replies
deno info returns module not found
Trying to import that 3rd party public package causes the same issue with the same error.
Replacing the url with the jsdelivr url however works fine
The jsdelivr trick does unblock me, but I can't update the actual file and push a commit as the raw.githubusercontent url works fine for all my coworkers.
Any ideas of why the raw.githubusercontent url does not work?
5 replies
Running `deno cache` fails often with internal server errors when importing
Example message
The above happens often to our deployments, and it's usually a deno.land package. Rerunning the deployment usually succeeds, so we aren't really blocked, but this is frustrating with how frequent it is
2 replies
Sentry DenoOsUptime is not a function issue
I'm using
npm:@sentry/node@7.49.0
and the following script to test the integration
I did try adding Sentry.flush
but that does not resolve the issue
Instead of capturing the actual Nope
error, all the issues that show up in Sentry are the DenoOs.Uptime is not a function
Which is strange because I can see that this PR has already been merged https://github.com/denoland/deno_std/pull/30522 replies