Getting Error while Building Electron Application - reactjs

I have created an UI using ReactJS and embedded the electron into that. I can run my React UI as a Desktop App using electron.
Now, I am facing an issue creating builder using electron-packager.
Below is the error: rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes
However, I can see the created package in the "Temp" folder under "electron-package" folder still it throws the above error. Also, I have tried running executable from the Temp folder, it opens desktop app (still there are few errors but they are related to code - I am not worry about this errors).
ElectronJS - https://www.electronjs.org/
It would be great if someone help me on this.
Thanks in advance.

By degrading Electron version from latest to v10.1.6, it got resolved.

Related

My Expo project suddenly start showing Typescript missing, install. Whereas I am not using typescript at all

I am new to react-native and expo stuff. I was working on an application that worked fine until I installed react-native-wifi-reborn.
I was following this article since I wanted to connect to wifi from the app (This was the requirement).
After adding react-native-wifi-reborn, my project started without issues until I got an error in WifiManager.connectToProtectedSsid usage.
It was a logical error and I made small code changes (I was passing the incorrect wifi password), restarted the project, and started getting the below error. I tried removing react-native-wifi-reborn and now I tried googling it but no luck. This error just won't go.
I am getting the below error whenever I try to run the project, it was working fine till now
My app.json
babel.config.json
package.json
Project Structure
Ps: I don't want to install typescript, not comfortable using it. Please help how to fix.

Error: React Refresh runtime should not be included in the production bundle

I'm facing issue while running my project in react-native. I changed the app name by using package react-native-rename but since then I'm getting that errors:
anyone know how to fix that?

Sencha CMD build classic app not working but modern does

I have sencha Universal app. Recently i switched from windows to Linux so i have to reinstall everything.
Now my sencha CMD version is v6.7.0.63, app version is 6.2.167. When i try to create new app with CMD it is successfully creating the new app, and sencha app build classic on this newly created app is also good. But when i try to build the old app, it is not working. My Old app build ios is also working. But not the classic.
Here is the error it gives when i run sencha app build classic
Exception information:
Sencha/Cmd/6.7.0.63/plugin.xml:333: The following
error occurred while executing this line:
htdocs/pi-v3/public/App/.sencha/app/build-impl.xml:273:
The following error occurred while executing this line:
htdocs/pi-v3/public/App/.sencha/app/js-impl.xml:186:
com.sencha.exceptions.BasicException
at com.sencha.ant.AntScript.execute(AntScript.java:121)
and when i run sencha app build ios it run without any error
The error was so unclear in linux. But i was able to solve it. As you can see the error doesn't say anything about the head or memory but it was actually error due to small heap size. so i have to increase the memory using;
export _JAVA_OPTIONS="-Xms1024m -Xmx2048m"

Error getting while building react kotlin app using IntelliJ

I've created a simple react app using create-react-kotlin-app. After successful npm start, I tried to get a build of the project using IntelliJ IDEA's Build -> Build Project, but it fails stating
Error:(16, 44) Kotlin: Can't access property 'reactLogo' marked with #JsModule annotation from non-modular project
What am I missing here ?
NOTE: I haven't done any modification in the template comes with create-react-kotlin-app. The project runs successfully, problem only exist when I try to get a build.
I got managed to fix this issue via terminal.
From the project root, run
react-scripts-kotlin build
This will automatically creates a build folder with production ready files.

Module build failed - read only error

Trying to create a React app without using create-react-app so that I can learn a bit more and know what's going on in the background.
I'm trying to get webpack to work but getting this error that appears to be linked to redux-form when running webpack command.
I've just copied code from their site so not sure what the issue is?

Resources