question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

it does not work on osx

See original GitHub issue

Hello,

It does not work on osx for me. When I just require the electron: require('electron-reload')(__dirname, { electron: require('electron') }); I get the messsage:

Electron could not be found. No hard resets for you!

So, I specify the electron path: require('electron-reload')(__dirname, { electron: path.join(__dirname, 'node_modules', '.bin', 'electron') });

With this config the app flashes for a split second, then exits.

I’ve prepared demo: https://github.com/mikes01/electron-quick-start

OS X El Capitain v10.11.5 electron v1.6.8 electron-reload v1.1.0

i will appreciate your help with this issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
leozhao0709commented, Jun 7, 2017

It also work for me.

1reaction
digioak-zzcommented, Jun 1, 2017

I just tried it on macOS and it does work for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If your Mac doesn't turn on - Apple Support
If your Mac doesn't turn on · Check power connections · Press and hold the power button · Unplug accessories · If you...
Read more >
How to Fix the "macOS Could Not Be Installed on Your ...
1. Restart Your Mac and Retry the Installation. Sometimes, all you need to do to fix macOS errors is to restart your Mac...
Read more >
MacBook won't turn on? Here's how to fix it - Macworld
Shut down the MacBook. Unplug and then reconnect the power cable. Press Shift + Ctrl + Option/Alt keys and the power button at...
Read more >
7 Ways to Troubleshoot If the App Store Will Not Load on a Mac
If the App Store won't load or work properly on your Mac computer, there are a number of ways to troubleshoot the problem....
Read more >
Mac Not Turning On? Take These 8 Steps to Fix It - MacKeeper
See if your Mac has power · Check the hardware · Perform a power cycle · Reset the SMC · Restore from Recovery...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found