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

Fresh install not working #74

Closed
mattdesl opened this issue Jan 19, 2016 · 3 comments
Closed

Fresh install not working #74

mattdesl opened this issue Jan 19, 2016 · 3 comments

Comments

@mattdesl
Copy link
Collaborator

Hmm, just started hitting this on a fresh global install. I cleared my ~/.electron cached downloads and tried again, same error.

screen shot 2016-01-19 at 4 17 13 pm

I'll poke around.

@mattdesl
Copy link
Collaborator Author

Ok, interesting. Because electron apps are doing require('electron') somehow node was resolving to a globally installed version of electron (notice that module is not related to atom/eletron).

@mattdesl
Copy link
Collaborator Author

Running this fixes the problem:

npm uninstall -g electron

@maxkueng
Copy link
Collaborator

Interesting. We could report this in atom/electron. It shouldn't crash if you have this installed.

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

2 participants