All Questions
114
questions
0
votes
0
answers
31
views
Uncaught TypeError: Failed to resolve module specifier "monaco-editor". Relative references must start with either "/", "./", or "../"
I'm getting started using a Monaco Editor for an Electron JS application. So far I'm able to get the file content on a user's directory no problem but when I try to append it to a Monaco Editor is ...
0
votes
0
answers
25
views
How to create a Windows installer with UAC prompt using electron-forge?
Is it possible for electron-forge to display a UAC prompt before installation? I looked at the Electron Forge documentation, and it doesn't have any configuration to allow a UAC prompt before ...
0
votes
0
answers
30
views
How to use python in electron js package
My friend and I are buildinf a desktop app using electron js, in there we have a snippet of code that runs in a js file that goes like this:
const scriptPath = await window.spawnAPI.pathJoin('..', '..'...
1
vote
1
answer
65
views
Error whilst trying to package electron app
I am trying to package an electron app with the normal template (no frameworks). When I run: npm run package OR yarn run package. I get an error:
PS C:\GitHub\electron-project\lambda> yarn run ...
0
votes
0
answers
37
views
Getting dropped file path in Electron
In electron, there's a feature where you can drag out an element and drop it on your desktop as seen in this example. I've searched all over the place for a possible example or GitHub issue I can ...
0
votes
1
answer
85
views
getting error while making the electron.js build with nextjs
when i am trying for electron.js build with nextJs getting this error again and again while i've updated my packages and re-installed node modules also but unable to solve this
C:\Users\Himanshu\...
1
vote
1
answer
698
views
How to build an electron application for different Windows versions?
I have a problem with my Electron app. I want it to be build for win7 platform, but couldn't find any appropriate ways to do it.
I have built my app for win10 platform via github release. But there is ...
0
votes
0
answers
51
views
How to collect an electron project in one portable file?
How should I take the electron project (example electron-quick-start) into one portable executable file for Windows?
I tried electron-builder and electron-packager, but it built an executable that ...
1
vote
0
answers
194
views
Error: Cannot find module '@electron/packager/src/targets'
I installed @electron-forge/cli through
npm install --save-dev @electron-forge/cli
and when im trying to use it through
npx electron-forge
i am getting an error:
An unhandled exception has occurred ...
1
vote
1
answer
168
views
Electron Squirrel Auto Updater The remote server returned an error: (308) Permanent Redirect
I was trying to make an auto-updater for my electron app and used Hazel as the update server, but when I tried this and tested it, following every step on the electron guide, It would always give me ...
0
votes
1
answer
114
views
Open a link in electron created a new browser window How to Apply set Browser window properties on that window?
I have one main Electron window which is loaded by loadURL. In that window we a different
a-tag which automatically created a new BrowserWindow with default setting. how can we change the ...
0
votes
0
answers
27
views
Blurry / Abysmal resolution on Electron Version 25.3.1 on MAC
The text in the image looks blurred, and not crisp, not able to find the solution.
Can anyone help me with this
2
votes
0
answers
136
views
How to check dependencies on user's PC while installing Electron app?
I am new to electron js and have certain questions regarding the build of the electron app. I am building a react-electron app for desktop in linux/ubuntu that uses docker and ngrok. Now I want to ...
0
votes
0
answers
27
views
There was a problem with the program after starting electron packaging
error:ENOENT, out\renderer\index.html ont found in D:\lsoft\app.asar
at createError (node:electron/js2c/asar_bundle)
at t.<computed> [as open] (node:electron/js2c/asar_bundle)
at ReadStream....
0
votes
0
answers
362
views
Take screenshot of a specific area with Electron
I am using Electron to create a Windows application that creates a fullscreen transparent overlay window. The purpose of this application is to:
Take a snapshot of a specific area of the screen (by ...