Git Product home page Git Product logo

Comments (7)

EdamAme-x avatar EdamAme-x commented on June 22, 2024 1

it works! thanks bro!!! @bartlomieju

from deno.

EdamAme-x avatar EdamAme-x commented on June 22, 2024

ref

/** Wrapper of Deno.env.get, which doesn't throw type error when

from deno.

bartlomieju avatar bartlomieju commented on June 22, 2024

Can you elaborate what's the ask here?

from deno.

EdamAme-x avatar EdamAme-x commented on June 22, 2024

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.

bartlomieju avatar bartlomieju commented on June 22, 2024

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.

EdamAme-x avatar EdamAme-x commented on June 22, 2024

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.

bartlomieju avatar bartlomieju commented on June 22, 2024

How do you run the app? Please try running with DENO_FUTURE=1 env var set up.

from deno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.