All Questions
Tagged with electron javascript
6,348
questions
-1
votes
0
answers
16
views
electron opens raw main file source code in my native browser
When I run my electronjs app (electron . or electron electron.js) instead of opening a electron tab it opens the electron.js file in my browser (opera) as if it were a text file
I figured out that the ...
0
votes
0
answers
12
views
Angular 14 and Electron js Outlook integration doesn't work after creadentials given
We have used
@azure/msal-angular
For outlook integration in our system.
let result = await this.msalService
.loginPopup({
scopes: [
'user.read',
'Mail....
-1
votes
0
answers
40
views
No icon is displayed
The following problem needs to be solved: when you drag shortcuts to the container, they are duplicated and their image is not displayed.
Below I provide the main code of node js electron and renderer....
0
votes
0
answers
25
views
Uncaught TypeError: Cannot read properties of undefined (reading 'send')
`Windows; MS Code; "Electron" 5.0.4, simple desktop text editing app
I get the following error after clicking the save button; the button is located on the "index.html" page in a &...
0
votes
0
answers
21
views
Load React or Angular Component In OpenFin
I am trying to get an OpenFin app to run using the Platform API: https://developers.openfin.co/of-docs/docs/platform-getting-started
I can get a 'platform' running, and x2 panels using the example in ...
-1
votes
0
answers
18
views
How to create electron app that will replace windows desktop
How can i develop an app, that can be used instead of default windows desktop, couldn't find any tutorials online, so I'm asking here
I only found some ways of using kodi, but I want exactly electron ...
-1
votes
1
answer
58
views
How can i fix Electron problem: Error: ENOTDIR, not a directory?
I'm using an electron for the first time. I ran into a problem when building the application. I do everything according to the documentation, I use electron-forge. npm run make runs without problems, ...
0
votes
0
answers
9
views
Electron Forge resolving path to node module using absolute path rather than using relative path
I'm trying to create an app that include the get-windows npm package, but I cannot distribute my app because Electron Forge is using resolving the package to an absolute path rather than a relative ...
1
vote
2
answers
70
views
Is it possible to add an eventListener to a custom title bar used for dragging the window in a frameless window?
Added a custom title bar to a frameless window in order to make the window draggable. The title bar shows, but eventListener won't fire:
main.js:
const createWindow = () => {
const win = new ...
0
votes
0
answers
26
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
Node.js Electron App renders a blank screen on start [closed]
I have an Electron app with Shadcn/ui, and when I start the program, I only get a blank white screen. In the console, I see no errors.
I tried using other guides, but they were either outdated or not ...
0
votes
0
answers
15
views
How to prevent system shutdown if an electron app is running
I want to send an api request when the user closes the app. I have managed to send an api request on that but on shutdown the request is not sent.
Is there any way in electron that we can prevent ...
0
votes
0
answers
15
views
Does electron have a way to get information about the printer, including sub-sheet information, paper quantity, etc
ipcMain.handle('getPrinterAsync', async (_, args) => {
return this.windowPrint.getWindow().webContents.getPrintersAsync();
})
Does electron have a way to get information about the printer, ...
-2
votes
0
answers
55
views
Error while running react - electron in browser - Uncaught ReferenceError: require is not defined
I am tryin to make a electron - react application and while running i am getting a error on the console of the browser.
Uncaught ReferenceError: require is not defined
at Object.events (bundle.js:...
-1
votes
0
answers
20
views
How can I require the electron module from within cordova's renderer process?
I created a plain cordova-electron application using this tutorial.
I am trying to access the ipcRenderer object of the electron module so I can receive events sent from the main process (cdv-electron-...