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
App will not display after build #186
Comments
You mentioned that you've customized it. Does this issue occur if if you clone this repo and run it with no changes? |
@coryhouse No it does not. When I clone it and run the build it works fine. I haven't changed any webpack settings or package.json settings in my project. Just added components/actions/etc. |
I'm going to close this then since it's not an issue with the repo, it's an issue with your app. That said, if you post your repo, I'll give it a look. |
Your fork is missing tools/nodeversioncheck.js, so I had to remove the preinstall script step that references it. After doing that, I was able to move forward. For npm run build, it's not creating index.html because you don't have any tasks that handle it. Check out the latest version of slingshot to see how this is being handled. It changed in a recent release. |
Okay thanks. Where is main.css being made from? That seems to be the only thing missing now |
If you reference it in index.js, it'll be bundled by webpack. Note the example in the repo's index.js file. |
I used this as a base application. After customizing it, when I run
npm run build
everything seems to be building normally but then when the page loads up I getCannot Get /
displayed. Not sure what happened...anyone else run into this issue?Node version: 6.3
npm version: 3.10.5
Operating system: OSX 10.11
Command line used: iTerm
The text was updated successfully, but these errors were encountered: