marvinh.
marvinh.
DDeno
Created by steve02081504 on 11/14/2024 in #help
how to clear import cache of an file?
FYI: There is also the --watch-hmr flag that reloads modules during development
16 replies
DDeno
Created by nef on 5/8/2025 in #help
Possible to use CsvParseStream in Node.js
Right, in that case it's likely that you're running into the issue that Node by default uses NodeStreams (older API) and @std is written for WebStreams. In Node you can convert between the two, see https://nodejs.org/api/webstreams.html#nodejs-streams-interoperability
8 replies
DDeno
Created by nef on 5/8/2025 in #help
Possible to use CsvParseStream in Node.js
There is no function to open a file in any of the @std packages, because that's already included in Deno itself, see https://docs.deno.com/examples/streaming_files/
8 replies
DDeno
Created by Erfan on 5/7/2025 in #help
Deno 2.4 emit for bundling with "npm:" imports inside code
unlikely, deno_emit hasn't been maintained in a while. You're much better of with esbuild + the deno loader plugin or vite + the deno plugin
3 replies
DDeno
Created by Hiro on 5/7/2025 in #help
Deno constantly panics after reporting error about NPM modules
Can you report this issue on the issue tracker https://github.com/denoland/deno/issues ? The discord space here is more of a users helping users kind of thing where most JS devs have no idea about rust panics. But on the issue tracker the team that develops Deno hangs out directly and where you'll get help with rust panics much more likely than here. Please open an issue
2 replies
DDeno
Created by krofdrakula on 5/5/2025 in #help
Recently upgraded `deno` and am on a newer version than is available
No, nothing to worry about. We messed up the version string in that release build. It's actually 2.3.0 but it reports it as 2.4.0. We did the necessary steps to ensure that this cannot happen again and running deno upgrade 2.3.1 will resolve it
3 replies
DDeno
Created by Bastian on 5/4/2025 in #help
SQLite null prototype
An object with its prototype set to null is still an object. Setting the prototype to null is a common pattern in runtimes to prevent badly written polyfills from messing with return values of functions. Because the prototype is terminated, there is no fallback lookup into the global Object when a property doesn't exist.
What is the ideal way of dealing with this?
Just continue using it as you normally would. If you're running into any problems, please share
2 replies
DDeno
Created by jeffutter on 5/2/2025 in #help
Missing `init_ops_and_esm` function for extensions in rust
I'm afraid I can't help further as I've never embedded parts of Deno in another Rust app
5 replies
DDeno
Created by theANDYM on 5/2/2025 in #help
Issues with a Rust panic running workers and attempting to use `otel`
Can you file an issue for that here https://github.com/denoland/deno/issues ? The discord is more of a users helping users kind of thing and I doubt JS users can help you much with Rust panics. Deno should never panic so this is a valid bug. The CLI team hangs out on the issue tracker, that's where stuff like this is posted so that it can be resolved
3 replies
DDeno
Created by jeffutter on 5/2/2025 in #help
Missing `init_ops_and_esm` function for extensions in rust
5 replies
DDeno
Created by Djkáťo on 4/9/2025 in #help
Uncaught (in promise) TypeError: Relative import path "@payloadcms/next/withPayload" not prefixed
If you feel like this is something that should be fixed in Deno be sure to open an issue here https://github.com/denoland/deno/issues . That's where the folks working on Deno itself hang out. The discord #help space is more of a "users helping users" kind of thing
7 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
@i_use_arch_btw that's exactly what the patch feature in deno.json does. It works the same way as path in Cargo. We just picked a different name that is more familiar to JS devs
17 replies
DDeno
Created by Romuald Quantin on 4/17/2025 in #help
Vite dev server with HTTPS (node:http2)
We occasionally look at the thumbs up reactions an issue gets to priortize them
6 replies
DDeno
Created by Natdm on 4/25/2025 in #help
Deno Monorepo with nested applications and packages
I'm unable to import @example/foo in API, as it says ..
Regarding this: Have you added @example/foo to the imports section of the consuming package's deno.json?
3 replies
DDeno
Created by Yacine Hmito on 4/29/2025 in #help
Upgrade to Deno 2.2 caused an outage
Thanks for sharing more details. I've made an issue out of that so that it shows up in our tracker https://github.com/denoland/deno/issues/29094
14 replies
DDeno
Created by Yacine Hmito on 4/29/2025 in #help
Upgrade to Deno 2.2 caused an outage
Hard to tell what's going on without knowing more details. 1. Is there anything in the logs? 2. What makes you conclude that it's memory related? 3. What about CPU usage? 4. How confident are you that it relates to the Deno version? Are there any other infrastructure changes that could have affected this
14 replies
DDeno
Created by Bubbles on 4/29/2025 in #help
Fresh: `toggle` is not a function.
You cannot pass functions from the server to the browser. You're passing a JS function to the toggle prop of MyButton.
3 replies
DDeno
Created by Santiago Aguilar Hernandez on 3/13/2025 in #help
How Node.js SQLite works on Deno?
also related bug report on the deno tracker: https://github.com/denoland/deno/issues/29030
8 replies
DDeno
Created by Santiago Aguilar Hernandez on 3/13/2025 in #help
How Node.js SQLite works on Deno?
Good point, opened an issue for that https://github.com/denoland/docs/issues/1658
8 replies