smail
smail13mo ago

electrons using deno

In the recent deno version I see it is possible to runn executable in ./bin in node_modules using deno. Does that mean we can run eleclronjs desktop app in dev using deno ? By the way I don't see Desktop as tag in the tags suggested for help!
7 Replies
Deno AI Helper
Deno AI Helper13mo ago
I wasn't able to find the answer to your question in the official Deno documentation. Deno does not typically use the node_modules directory as it does not rely on the npm package ecosystem that is common with Node.js. Deno uses a different module resolution system that involves importing modules via URLs. Regarding your question about running Electron apps with Deno, Electron is a framework that combines Node.js and Chromium to build desktop applications. Since Deno is a runtime that is separate from Node.js, it is not directly compatible with Electron, which relies on Node.js APIs. Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of this information. If you're looking to develop desktop applications with Deno, you might want to explore other options that are compatible with Deno or look into community efforts to create similar tooling for Deno.
fyrfnn
fyrfnn13mo ago
wdym by "run electronjs app using deno"? afaik, electron apps can run without node since its bundled with it (idk how to explain)
smail
smailOP13mo ago
In dev I mean. in production I know electronjs is standalone like vscode for example, no need for node to use it.
fyrfnn
fyrfnn13mo ago
GitHub
Deno support · Issue #23613 · electron/electron
#23203 # Preflight Checklist I have read the Contributing Guidelines for this project. I agree to follow the Code of Conduct that this project adheres to. I have searched the issue tracker for a fe...
fyrfnn
fyrfnn13mo ago
Supporting the Use of Rust in the Chromium Project
Posted by Dana Jansens (she/her), Chrome Security Team We are pleased to announce that moving forward, the Chromium project is going to s...
fyrfnn
fyrfnn13mo ago
i dont know the current progress of this but electron may support deno in the near future there are still other alternatives that is written in rust and built for deno ok so ive checked the progress and i think its near finish? you can ask electronjs devs about this
smail
smailOP13mo ago
thank you. @fyrfnn

Did you find this page helpful?