-
Notifications
You must be signed in to change notification settings - Fork 61
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
Update guide #1
Comments
When run serve:ssr, console in browser shows Uncaught SyntaxError: Unexpected token < , is it some issue cause by webpack? Thanks for you hardwork. |
No I do not see problem with webpack. Here is my package.json "dependencies": { |
If you are seeing "Uncaught ReferenceError: global is not defined", see valor-software/ng2-dragula#849. |
I'm also seeing the same issue as @GZ-Murphy with regards to |
OK, I managed to fix the I'm not 100% satisfied with the prerender configuration since it doesn't seem like the cached HTTP requests from prerendering get stored/fetched properly. But I'm not sure how it was expected to work. It doesn't look like prerendering was ever really working in this repo due to https://github.com/kamilmysliwiec/universal-nest/blob/master/static.paths.ts not mapping to the actual paths used in this app. I had to actually fork and fix Please let me know if I could have done anything better. This is my first day of actually doing any code with Nest. |
Great job @Splaktar 👍 Would you like to create a PR to this repository? I'll check out, extract universal module and we can then move this whole repo under |
@kamilmysliwiec I would love to, but my work on this only happens in my spare time, so I am not sure when I will be able to get around to it. I didn't create a PR initially because I wasn't sure if the approach was completely correct (plus I probably changed some unrelated things as well, so I'll have to do a little clean up in a branch before PR'ing). Please feel free to grab whatever you need/want from my fork in the meantime. |
Sure thing :) Thanks! |
Hi @kamilmysliwiec
When use npm run build:ssr && npm run serve:ssr we must open localhost:300O to see the result. Thanks for you hardwork. I looking for that type of project so long.
The text was updated successfully, but these errors were encountered: