D
Deno

help

electrons using deno

Ssmail12/23/2023
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!
DAHDeno AI Helper12/23/2023
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.
Ffyrfnn12/24/2023
wdym by "run electronjs app using deno"? afaik, electron apps can run without node since its bundled with it (idk how to explain)
Ssmail12/24/2023
In dev I mean. in production I know electronjs is standalone like vscode for example, no need for node to use it.
Ffyrfnn12/24/2023
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...
Ffyrfnn12/24/2023
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...
Ffyrfnn12/24/2023
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
Ssmail12/24/2023
thank you. @fyrfnn

Looking for more? Join the community!

Recommended Posts
Cannot find moduleHi <:vmathi:812484657547313212> I'm trying to run a project with Deno, but i'm getting "Cannot find Uncaught error during deno deploy of vite appWhen creating a new vite app with vue and typescript I get this error message. This error is reprodDeno, TypeScript, ESBuild, WebGL, VSCodeHello! As the title suggests, I am using these technologies to create a web application: * Deno * TPossible issue with re-export compatibility with NodeIn https://github.com/japa/runner/issues/35, I have described an issue where Deno seems to be incompMake deno.serve handler asynchronousHow can i make the Deno.serve handler asynchronous? or like make it so that it can execute asynchronWhy my place.x -= 5 not working?At this part if(moveKey.right.pressed) { finishPostion += 5 quota exceededi hit the free limit tonight and upgraded to pro 20 minutes ago— when do my sites stop erroring withDeploying WASM via Deno Deploy Github ActionsHello, I'm trying to deploy a Leptos project that serves a .wasm bundle for the frontend, and uses Get only the first records with deno kv but reversed orderedI'm using Deno KV to store articles. Generating the ID for the articles: ``` export function generaerror: Uncaught (in promise) SyntaxError: Invalid regular expression flagsAfter Updating my fresh to latest version I got following error ``` deno task start Task start deno third party module repo changeI'm the author of a third party deno module: https://deno.land/x/streamdal_protos@v0.0.126. My comDeno.serve get full path instead of only params and urlI need to get params from an url like this `http://localhost:8000/auth#token_type=Bearer&access_tokeSend custom response inside error event listenerIf I add an event listener for errors in Deno to catch anything my middleware error handler doesn't,assertThrows() limitationsassertThrows() seems to only filter on class name and message. Is there an assert function for checkLSP/VSCode stops workingI'm having issues in my fresh project time to time it stops working and I have to restart it or vscoCan the listeners for messages from Deno Deploy Queues timeout?Can the listeners for messages from Deno Deploy Queues timeout like Vercel serverless functions? AreHow to get the path to the compiled binary?`import.meta.url` and `Deno.mainModule` are used to get the current script, but after a binary is crHow to get `require.main.filename` like Node as DenoI am making a module to be published on deno.land/x. I want the user to put a file describing the coChange Web Worker Permissions after the Worker StartedHello, I was wondering if it is possible to change/update the permissions of a web worker after it Missing transpiled source codeI'm trying to generate coverage for my project and I'm getting the following: ``` deno task coverage