jeffbski / jeffbski/wait-on

Mac M1

Open
#121 6 comments 6 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
87
PR merge metrics
No merged PRs in 30d

Description

Wait-on does not seem to work with mac m1, see package.json relevant parts below.

The app will load in the browser but the electron app will never appear. Work fine on the previous macbook and works fine if I change electron:start to , "electron:start": "concurrently -k \"cross-env BROWSER=none yarn start\" \"electronmon .\"", where the app then loads blank and I refresh manually.

"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"electron:start": "concurrently -k \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electronmon .\"",
"electron:package:mac": "yarn build && electron-builder -m -c.extraMetadata.main=build/electron.js",
"electron:package:win": "yarn build && electron-builder -w -c.extraMetadata.main=build/electron.js",
"electron:package:linux": "yarn build && electron-builder -l -c.extraMetadata.main=build/electron.js"
},
"devDependencies": {
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"electron": "^18.0.0",
"electron-builder": "^22.14.5",
"electronmon": "^2.0.2",
"wait-on": "^6.0.1"
},

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the package.json scripts in the issue and reproduce electron:start on a Mac M1. Compare the wait-on and electronmon command with the working command described in the report; done means the Electron window opens without a manual refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.