bombillazo
bombillazo
DDeno
Created by bombillazo on 12/13/2024 in #help
Deno vs Node `Intl.DateTimeFormat().resolvedOptions()` discrepancies
perhaps som node dependency is conflicting
10 replies
DDeno
Created by bombillazo on 12/13/2024 in #help
Deno vs Node `Intl.DateTimeFormat().resolvedOptions()` discrepancies
One big difference I did when upgrading to V2 was that i was forced to add "nodeModulesDir": "auto", to our deno.jsonc file. Without it, deno run and deno compile would not be able to find many of the modules that previously worked.
10 replies
DDeno
Created by bombillazo on 12/13/2024 in #help
Issues migrating dependencies from v1.x to v2.x
seems like it was multiple isues at the same time, a dependency with incorrect version check, and I had to add "nodeModulesDir": "auto", to my deno.jsonc file and now it works
2 replies
DDeno
Created by bombillazo on 12/13/2024 in #help
Deno vs Node `Intl.DateTimeFormat().resolvedOptions()` discrepancies
Yup, We want to move to v2 anyways, seems like the necessary reason now
10 replies
DDeno
Created by bombillazo on 12/13/2024 in #help
Deno vs Node `Intl.DateTimeFormat().resolvedOptions()` discrepancies
No description
10 replies
DDeno
Created by bombillazo on 12/13/2024 in #help
Deno vs Node `Intl.DateTimeFormat().resolvedOptions()` discrepancies
Hey @bartlomieju! Before creating it, I tested running Deno 2.x and its working. We're currently on 1.46.3 due to some things needed to migrate but can confirm that it is not present int he current version. Perhaps its something worth documenting somewhere.
10 replies
DDeno
Created by bombillazo on 12/13/2024 in #help
Deno vs Node `Intl.DateTimeFormat().resolvedOptions()` discrepancies
Hey @bartlomieju excuse me for the tag, but being something as fundamental as dates, wanted to know your opinion/suggestion
10 replies
DDeno
Created by bombillazo on 8/13/2024 in #help
Reset position of terminal cursor when calling io.writeAllSync()
I solved this, the command stdin was not piped, only stderr and stdout and seems like it was messing up the terminal cursor location
2 replies
DDeno
Created by bombillazo on 8/13/2024 in #help
How to log Deno.Command output in real time (not after command completes)
Or better yet how can I move the terminal cursor to the start after each new line?
6 replies
DDeno
Created by bombillazo on 8/13/2024 in #help
How to log Deno.Command output in real time (not after command completes)
A bit unrelated but is tehre any way to use the io Write funciton to write to teh start of the terminal line?
6 replies
DDeno
Created by bombillazo on 8/13/2024 in #help
How to log Deno.Command output in real time (not after command completes)
thanks, I did somehitn similar now, with a loop that just reads from the stdout reader.
6 replies
DDeno
Created by bombillazo on 4/11/2024 in #help
How to upgrade `import_map.json` package versions?
Perhaps something similar to this: https://github.com/hayd/deno-udd but actulally maintained and working for impot_map files.
4 replies
DDeno
Created by bombillazo on 12/25/2023 in #help
Deno.Command output as it runs
Hey thanks for the help. I figured out the problem, basically the command was outputting warnings to to stderr instead of stdout, and stderr is piped by default, so I had to set it to inherit as well besides stdout.
6 replies
DDeno
Created by bombillazo on 9/11/2023 in #help
Deno Deploy Questions
Hey, its an HTTP connection to postgres, yeah
17 replies
DDeno
Created by bombillazo on 9/12/2023 in #help
Syntax Error: Unexpected token 'export'
thanks, but I've already checked those
4 replies
DDeno
Created by bombillazo on 9/11/2023 in #help
Deno Deploy Questions
We're using PostgreSQL via Supabase
17 replies
DDeno
Created by bombillazo on 9/11/2023 in #help
Deno Deploy Questions
I am doing queries to a DB, perhaps it is due to that tbh....
17 replies
DDeno
Created by bombillazo on 9/11/2023 in #help
Deno Deploy Questions
hmmm ok, it just feels awfully similar to when one hits an AWS Lamdba function that has been long unused and the response takes a while to reach the client, yet all subsequent responses work as expected...
17 replies
DDeno
Created by bombillazo on 9/11/2023 in #help
Deno Deploy Questions
Hey, thanks for your response! I think it happens in the first time the functions are deployed as if the dependencies are being downloaded to run the request.
17 replies
DDeno
Created by bombillazo on 9/7/2023 in #help
How can one patch a Deno dependency?
Thanks! I ended up using deno vendor to pull the deps into a folder then using that to create our patched version and import it locally. 😁
9 replies