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

master branch does not build #163

Open
roramigator opened this issue Jun 10, 2022 · 4 comments
Open

master branch does not build #163

roramigator opened this issue Jun 10, 2022 · 4 comments

Comments

@roramigator
Copy link

Error

roramigator@box:~/Left/desktop$ npm install

added 164 packages, and audited 165 packages in 15s

6 packages are looking for funding
  run `npm fund` for details

12 vulnerabilities (7 moderate, 3 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
roramigator@box:~/Left/desktop$ npm start

> [email protected] start
> electron . --disable-gpu

[83127:0609/202740.476494:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye.
@conner-mcnicholas
Copy link

I'm able to resolve that immediate issue by executing the resolutions suggested by 'npm audit fix':

npm install --save-dev [email protected]
npm install --save-dev [email protected]

Now, 'npm start' successfully launches the app.
But the window is black, and any user input just results in errors. I couldn't isolate the root cause.

lefterr

@OhScee
Copy link

OhScee commented Aug 23, 2022

Hey, thought I would chime in here since I came across a similar issue
M1 mac.

Older versions of Electron are not going to work nicely in my case, so to build properly:

  • ensure you are running your terminal (or other app) in rosetta mode
  • if not already installed, install nvm (note: you should uninstall Node.js if you haven't been using nvm prior to now)
  • use the following command nvm install 12.8.1
  • delete/remove the node_modules directory from the project
  • npm i && npm start

Explanation: it appears that there's some silent conflict with the latest versions of Node and Electron ^7, so you must force yourself to use an older version to execute successfully.

I would highly recommend running npm run build_osx (should build the application in your /Documents directory) and just using the app from there to save yourself from having to go back and forth between node versions to run

Hopefully this helps!

@waldmannly
Copy link

On windows, I am able to build with these version in my package.json. Newer version of electron do seem to cause the black screen on start.

  "devDependencies": {
    "electron": "^7.1.12",
    "electron-packager": "^14.2.1"
  },

@Unproductivv
Copy link

I'm running into the same issue, with a similar error:

[97228:0626/202650.850292:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye.
Trace/breakpoint trap (core dumped)

Has anyone found a fix for this yet?

(Additional Info: I'm running Linux Mint Cinnamon Edition)

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

No branches or pull requests

5 participants