Comments (3)
I am sorry, I don't know what is going on. I haven't used shelljs and unfortunately I don't have time to try to reproduce and debug.
Have you tried pulling the require statement out of render and putting at the top of the file? Did Google not turn up anything?
from electron-with-create-react-app.
I figured that there are missing env variables in process.env. No suggestions from google helped.
I am now using this repository: https://github.com/electron-react-boilerplate/electron-react-boilerplate
It does the same thing, but it has less bugs. Child_process module loads properly.
from electron-with-create-react-app.
I am glad you found a path that works for you
from electron-with-create-react-app.
Related Issues (20)
- [WARN] Cannot read property '1' of null HOT 6
- logging from `electron-starter` HOT 3
- env file not found HOT 1
- Error when quitting app HOT 2
- CSS hotreload HOT 1
- images broken after building with electron-builder HOT 7
- Throwing errors with Python 3.x HOT 2
- Trying to use rethinkdb HOT 10
- throw new errors.Error('ERR_UNKNOWN_SIGNAL', signal); HOT 4
- BrowserWindow#loadUrl niside of electron.screen "display-added" callback causes infinite recursion
- .env file is being overwritten HOT 1
- Running last version of react-scripts will cause to launch the app in both Browser and Electron window HOT 3
- Can't get click event to register at all in desktop app... works in the browser HOT 2
- Last package.json for ts. HOT 4
- window.require doesn't work with latest version of electron HOT 1
- How do we run this in production? HOT 1
- Doesn't work with electron version 8 HOT 1
- Hello,I want to know how can I update the ico of the packaged .exe file for the electron package HOT 2
- The trick no longer works HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-with-create-react-app.