Open bob-lee opened 7 years ago
Current version 0.0.4
doesn't seem to work with Angular 5 yet. Downgraded to Angular 4.4.6 and got SSR back to work.
I've installed this tslib module manually and then the error should be gone. However, when I deploy my app to firebase I get the following error: Error: Forbidden Your client does not have permission to get URL /ssr/ from this server.
I have no clue on what to do here.
@StudioTOB Make sure you're including some static files for Firebase Hosting in the public folder and deploy both. firebase deploy --only hosting,functions
.
On another note, I do need to work on getting this up to Angular 6.
@davideast Thanks for your reply. Can you show me where that folder should be. In the functions folder I have a dist folder and a dist-server folder. Does the public folder also have to be in the functions folder? And where do I have to tell firebase where this public folder lives?
Thanks for your time.
@nguniversal/module-map-ngfactory-loader
as my project doesn't do lazy loadingTried SSR following guide,
firebase serve
works well but after deploy, the web fails withError: could not handle the request
. Firebasetrigger
function log says it finished with status 'crash':