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

Bootstrap location missing on OSX #23

Closed
daredoes opened this issue Feb 26, 2017 · 3 comments
Closed

Bootstrap location missing on OSX #23

daredoes opened this issue Feb 26, 2017 · 3 comments

Comments

@daredoes
Copy link

Solution: change line 20 of app.html to
<script src="../resources/external/bootstrap/js/bootstrap.min.js"></script>

On my computer there seemed to be an issue with bootstrap missing. This change fixes that error, but a new error instantly follows. jQuery seems to be missing, as bootstrap requires it. A quick install of jQuery with npm didn't solve the issue. Excited to use this!

@nukeop
Copy link
Owner

nukeop commented Feb 26, 2017

Does it actually prevent you from running the program?

I'm seeing this too but I'm not actually using bootstrap scripts, so it doesn't affect anything. I'll probably remove these includes at some point to get rid of the warning.

The issue here is that bootstrap scripts are outside of the npm "ecosystem" so they won't see jquery anyway if you install it via npm. I think you can just remove line 20 entirely.

@daredoes
Copy link
Author

Removing line 20 allows the program to run the same without error. However, this means my issue is unrelated to Bootstrap. Screencaps incoming. My UI elements seem to be missing. React issue?

screen shot 2017-02-26 at 11 10 10 am

screen shot 2017-02-26 at 11 08 55 am

@nukeop
Copy link
Owner

nukeop commented Feb 26, 2017

Looks like electron doesn't look inside resources/ for media files on mac, try moving resources/media and resources/external to root repository folder.

I don't have a mac so I can't build or test.

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