Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn dev and npm run dev don't show a dev window of the app #2387

Closed
5 of 7 tasks
darthdeus opened this issue Feb 26, 2020 · 1 comment
Closed
5 of 7 tasks

yarn dev and npm run dev don't show a dev window of the app #2387

darthdeus opened this issue Feb 26, 2020 · 1 comment
Labels

Comments

@darthdeus
Copy link

Prerequisites

  • Using yarn
  • Using node 10.x
  • Using an up-to-date master branch
  • Using latest version of devtools. See wiki for howto update
  • Link to stacktrace in a Gist (for bugs)
  • For issue in production release, devtools output of DEBUG_PROD=true yarn build && yarn start
  • Tried solutions mentioned in #400

Expected Behavior

An electron window should open with the app loaded.

Current Behavior

Running yarn dev starts up all the subprocesses but no electron window is shown

PS C:\dev\your-project-name> yarn dev
yarn run v1.22.0
$ cross-env START_HOT=1 node -r @babel/register ./internals/scripts/CheckPortInUse.js && cross-env START_HOT=1 yarn start-renderer-dev
$ cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js
Starting Main Process...

> electron-react-boilerplate@1.0.0 start-main-dev C:\dev\your-project-name
> cross-env START_HOT=1 NODE_ENV=development electron -r ./internals/scripts/BabelRegister ./app/main.dev.ts

Steps to Reproduce (for bugs)

  1. git clone --depth 1 --single-branch --branch master https://github.com/electron-react-boilerplate/electron-react-boilerplate.git your-project-name

  2. cd your-project-name

  3. yarn

  4. yarn dev

Your Environment

  • Node version : tried 10.x, 12.x and 13.x
  • Version or Branch used : master
  • Operating System and version : Windows 10
@darthdeus darthdeus added the bug label Feb 26, 2020
@lafis
Copy link

lafis commented Feb 26, 2020

Duplicate of #2327
does this 2327#issuecomment-569184150 help?

Try turning off dark mode in Win10.

electron/electron#19468

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants