Add support for deno #26428
-
Edit: See response here: #26428 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 29 comments 13 replies
This comment was marked as spam.
This comment was marked as spam.
-
Any progress on this? EDIT: I realise my folly, #12334 (comment) |
Beta Was this translation helpful? Give feedback.
-
@tsujp feel free to contribute to making it work. |
Beta Was this translation helpful? Give feedback.
-
Planned to have a gander, wanted to chime in here just in-case there are parallel efforts going on. |
Beta Was this translation helpful? Give feedback.
-
Hi @timneutkens, I would love to help on this. Something have been planned? Did you guys have an idea of what need to be done exactly? Thanks |
Beta Was this translation helpful? Give feedback.
-
In this case it’ll be entirely up to the people that want to land it. I assume you’ll have to figure out how to run webpack/Babel in deno first though. |
Beta Was this translation helpful? Give feedback.
-
I was a bit naive in my "progress on this" above. All the dependencies of Next, and their dependencies' dependencies etc will need to work with deno before Next could -- so I suppose "progress on this" is more of a "progress on deno for production?". I have also heard various people are trying to get dependency auditing (e.g., deno_udd) fleshed out. So these kinds of tools have to be more mature also. Whoops. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
There is a new project called Aleph.js, which is
GitHub: https://github.com/alephjs/aleph.js Could be worth watching the space to cross-pollinate some ideas 🙂 |
Beta Was this translation helpful? Give feedback.
-
At the time of writing, the babel team does not have any plans to support Deno. |
Beta Was this translation helpful? Give feedback.
-
I love how this issue has good first issue tag, while it’s nearly impossible for NextJS to support Deno. Maybe they can just morally support and say: “Hey guys, gl in whatever you’re doing!” and be done with it, but everyone will consider this 126% rude, so silence is better 😂 Honestly the last time I checked Deno when v1 came out, it was quite poorly working for Windows, and all the feedback I got from their somewhat-core team was almost like: “windows? hah we’re having some kid here not knowing that you have to use Linux to develop things... use WSL” (well, he said somewhat like this), but WSL is almost like little virtual Linux machine, so mehhh... While NodeJS is working without any virtual machine layer completely fine, it’s a shame Deno can’t be run that easily too. So despite Deno v1 came out, they still have a lot of work to do to improve their fundamental things like cross-platform support (at the very least) Their core-core member Ryan Dahl sympathizes me actually: he has good vision, good ideas, so maybe some Deno v2 will be much better and more production-ready, who knows... 💕waves tons of support 💕 |
Beta Was this translation helpful? Give feedback.
-
@jerrygreen It seems your points about Deno needing to improve cross-platform support is based on Deno v1 which was released around a year ago. I have been using Deno and plain old Windows without WSL for AlephJS and other projects, and it has been working great. You can't really base it's flaws around the v1 release which was around a year ago. I recommend you download the latest Deno, v1.8.2, and try it out because those "fundamental things" have been worked on. |
Beta Was this translation helpful? Give feedback.
-
@shadowtime2000 time flows fast 😅 Thank you for saying all that, I’ll keep in mind Deno deserves another try. I saw AlephJS back in the days too, and yeah: if you wanna use Deno and want NextJS then AlephJS is definitely your choice, despite having some differences it fits the most. For some other things, like Electron, people do have equivalent questions though: Unfortunately there’s no such thing as Denotron or something 😞 Nor there’s support from Electron (neither currently nor in plans). If there would be, I would be probably making my projects with Deno already |
Beta Was this translation helpful? Give feedback.
-
Deno is adding support for npm so that's gonna be pretty interesting |
Beta Was this translation helpful? Give feedback.
-
It’s a good question !
… Le 20 nov. 2022 à 07:43, Jerry Green ***@***.***> a écrit :
|
Beta Was this translation helpful? Give feedback.
-
Has anyone tried running "deno run -A npm:create-next-app" ? |
Beta Was this translation helpful? Give feedback.
-
Finally, find something interesting @leerob |
Beta Was this translation helpful? Give feedback.
-
Looks like this needs to be done first |
Beta Was this translation helpful? Give feedback.
-
In the Deno community, there is an issue discussing this matter. denoland/deno#16679 |
Beta Was this translation helpful? Give feedback.
-
update! it works run |
Beta Was this translation helpful? Give feedback.
-
Any news? +1 |
Beta Was this translation helpful? Give feedback.
-
Do we actually want to support to deploy to deno or actually use or create project in deno.. i am confused.. for the first problem.. we can do it.. |
Beta Was this translation helpful? Give feedback.
-
A use case that would be useful for me would be to deploy a website with nextjs with deno, for desktop, without having to have nodejs as a dependency. |
Beta Was this translation helpful? Give feedback.
-
Any news? +1 |
Beta Was this translation helpful? Give feedback.
-
Well, since this is not an Issue we can talk with no reply for years to come :) |
Beta Was this translation helpful? Give feedback.
-
It's possible to run other bundlers like Vite with Deno now, but that doesn't mean it's good. What I actually want is the ability to import code by URL in my client-side JS, as well as use Deno's other great features like the built-in formatter, linter, and testing framework. But Vite, and probably Next.js, expects you to import code from So what does it mean to "add support for Deno"? I think what people want is for the bundler to become aware of all the things Deno can do, and support them. But it's beyond just adding a polyfill here or there to get it to run. What I'm saying is that even AFTER it runs doesn't mean it will be good or even worth using. That being said, I do believe Deno is the future of server-side JS, and I hope Vercel finds a way to step into the future. |
Beta Was this translation helpful? Give feedback.
-
Edit: Good news, Deno 2 now supports Next.js! |
Beta Was this translation helpful? Give feedback.
Edit: Good news, Deno 2 now supports Next.js!
https://deno.com/blog/v2.0