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
Error on refresh #1056
Comments
+1 |
Try removing completely useHash |
I am facing the same issue with my code. The code runs well but on refresh the application stucks. Somehow webpackConfig is undefined in |
Im getting the same problem, when HMR reloads the page on non-root (e.g. http://localhost:3000/help) it just shows these tags. |
@Zigzag95 |
Tried the same fix as @fmoessle and updating to the latest Node v6.6.0, still not working. |
I changed
now its working with: |
fmoessle this worked |
@fmoessle that fix worked for me. Thanks |
It seems that, |
you can also try this fantastic repo with Universal, WebpackBeta25, AOT, and Angular 2.0.1 |
Please, Help! |
Same problem.
|
I'm using these packs and I'm facing the same issue...
I solved putting this option into
Please pay attention, I'm also using |
The app works great if I leave everything as the default and use
npm start
, but when I change:RouterModule.forRoot(ROUTES, {useHash: true})
to:RouterModule.forRoot(ROUTES, {useHash: false})
I am getting errors on refresh. If I load/refresh the app at
http://localhost:3000
it works fine still, but if I try refreshing while I'm one of the other pages, e.g.http://localhost:3000/about
then I get this error:<% if (webpackConfig.htmlElements.headTags) { %> <%= webpackConfig.htmlElements.headTags %> <% } %> Loading... <% if (webpackConfig.metadata.isDevServer && webpackConfig.metadata.HMR !== true) { %> <% } %>
Anyone know how to stop this from happening? Thanks!
The text was updated successfully, but these errors were encountered: