Comments (7)
it works! thanks bro!!! @bartlomieju
from deno.
ref
from deno.
Can you elaborate what's the ask here?
from deno.
hi @bartlomieju
Thanks for your reply.
I think node:process
should be the standard global object (or optional with flag).
This should allow Astro to work fully with the Deno itself, including the hydrate process.
Astro is using node:process
in global
from deno.
We are not going to expose process
as a global object in user code, but the NPM packages should have it available. If it doesn't work with Astro it's a bug. Do you have a reproduction that currently doesn't work correctly?
from deno.
thanks for the reply.
It can be reproduced by creating a normal Astro app with bun and running astro dev
with deno. Normally this does not happen, but if you add an integration such as react, you will get a reference error in component-render.js
that the process
does not exist.
from deno.
How do you run the app? Please try running with DENO_FUTURE=1
env var set up.
from deno.
Related Issues (20)
- Proposal: add `origin` global HOT 3
- `crypto.createPublicKey({ format: "jwk" })` throws a `TypeError`
- Links in cli documentation for deno run command need to be updated HOT 1
- Analyzable dynamic import created before being imported throws "Module not found"
- Invalid root certificates cause Deno to panic HOT 1
- crypto.subtle.importKey with verify raises "Invalid key usages" HOT 1
- Resolving `npm:express` and `npm:express-openid-connect` results with `Deno has panicked.`
- Node:http localAddress not supported in compat
- parser-ts fails to work in deno HOT 1
- npm @gutenye/ocr-node doesn't work correctly
- Will the `curl -fsSL https://deno.land/install.sh | sh` URL install Deno 2.0 (i.e. breaking changes) once 2.0 is released? HOT 2
- [node] deasync package doesn't work in Deno CLI HOT 1
- workspaces: Always walk up to the root of the file system unless you encounter a deno.json(c) file with "workspace" key
- workspaces: Do not allow to use two different workspaces in subcommands that accept multiple entrypoints
- workspaces: Lockfile should be placed next to the workspace config file
- workspaces: Specify behavior of `deno install` when in a workspace context
- workspaces: Specify behavior of `package.json` in context of Deno workspace
- Doc tests don't play nice with blockquotes in markdown
- `mkdir()` incorrectly returns `undefined` and produces unexpected subsequent results
- Deprecate / Remove `--lock-write` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.