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

Installation Debugging Solutions #400

Open
amilajack opened this issue Sep 20, 2016 · 29 comments
Open

Installation Debugging Solutions #400

amilajack opened this issue Sep 20, 2016 · 29 comments

Comments

@amilajack
Copy link
Member

amilajack commented Sep 20, 2016

Installation Failure

This aims to be a list of solutions for installation issues with this project:

  1. Fix node-gyp issues:
    Follow the steps in https://github.com/nodejs/node-gyp#installation. You don't need to install node-gyp but make sure that you have the correct environment setup for your OS.

  2. Test installation against latest yarn/node version

  3. Fix Caching Issues

    rm -rf node_modules &&
    yarn cache clean &&
    yarn &&
    yarn electron-rebuild &&
    yarn dev
    
  4. If you're on Windows, try using cmder

Debugging Release Builds

DEBUG_PROD=true yarn build && DEBUG_PROD=true yarn start

@chentsulin
Copy link
Member

@TimothyLe Please be watchful with the wording. In such a OSS project, no one owes you anything.

@barbalex
Copy link

barbalex commented Nov 4, 2016

Comment Lines 54 and 66 in main.development.js, repackage, and open devtools.

are those line numbers still correct?

@amilajack
Copy link
Member Author

@barbalex thanks for letting me know. I just updated my comment to reflect those changes

@barbalex
Copy link

The links to the lines miss the /app in https://github.com/chentsulin/electron-react-boilerplate/blob/master/app/main.development.js

@amilajack
Copy link
Member Author

My bad. Should have checked that. Fixed now

@LeoRedin
Copy link

So I've done the steps listed here and the interface of the calc actually appears, so there shouldn't be a problem with the server.
I've got errors related to thise shared libraries but I couldn't find anything on the issues that could help me out.

the error itself is path/to/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

image

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

No branches or pull requests