taras
process.env problems
I'm trying to run pre-existing node code with deno. https://gremlich.me/software-engineering/2024/using-next-with-deno/ fails for me just like most other code due to process.env not working. Is there some trick that I'm missing?
I
export DENO_FUTURE=1
deno run -A --unstable-fs npm:next dev
results in error: Uncaught (in promise) ReferenceError: process is not defined
at file:///workspaces/<censored>/web-console/src/env.js:35:16
This seems like it should work since i'm running stuff via npm:, which turns on all the legacy stuff.2 replies