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
Googlebot fails to render app (used to work without server rendering) #16718
Comments
I've just read this. Feels bad to add es6-shim just to fix this problem. https://productforums.google.com/d/msg/webmasters/-rdfd3imgbQ/4zYkR-5vHQAJ |
Is anything needed to be fixed in Angular? |
Hi @vikerman, I think it's a bug in Angular. Google still doesn't render my application but works in all major browsers/phones. |
Hi, I am living the same problem. Is the problem related with the es6-shim? Do we need to include it manually? And how? |
I desire to share the solution that has worked for me. I had created the angular project with angular-cli. Es6-shim imports in src/polyfills.ts were commented out. Removing comment tags made the trick for me. |
Thank you @kemaltulum Your solution works well for me :) |
after upgrading to From Google doc
Knowing this I opened the site with an old chrome (v43) and immediately noticed the error in the console.
As mentioned before, enabling the |
Looks like angular/angular#16718
Looks like angular/angular#16718
Looks like angular/angular#16718
there is no longer an es6 shim polyfill in Angular 6. What would I do then? |
@Seankps Did you ever find a workaround? Moving to Angular Universal for this seems like a lot of work. Cc @schurder |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
This is a copy from angular/angular-cli#5773 but the issue is not in Angular-CLI, therefor I'm creating a new issue here.
An app produced by angular-cli used to be properly rendered by googlebot (without any server rendering involved, I have snapshots in the google search console properly rendering my landing page, from a month ago).
It now fails on my app, and on a fresh starter app from angular-cli 1.0. It only shows "Loading...", i.e. the content of but fails at bootstrapping the app. app works! gets properly displayed on the real website but not by googlebot.
I am building the app with the following flags: ng build --prod --aot --no-sourcemap
Versions.
Repro steps.
Pull latest angular-cli, build, and deploy to app-engine
Test page via Google's speed test / mobile friendly tools:
https://developers.google.com/speed/pagespeed/ or
https://search.google.com/search-console/mobile-friendly
The text was updated successfully, but these errors were encountered: