marvinh.
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-interoperability8 replies
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
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
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 it3 replies
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
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
Missing `init_ops_and_esm` function for extensions in rust
Looks like it was renamed, see https://github.com/denoland/deno_core/pull/1117/files
5 replies
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
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 devs17 replies
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
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
How Node.js SQLite works on Deno?
also related bug report on the deno tracker: https://github.com/denoland/deno/issues/29030
8 replies
How Node.js SQLite works on Deno?
Good point, opened an issue for that https://github.com/denoland/docs/issues/1658
8 replies