question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can not prerender it

See original GitHub issue

I am using vue-cli webpack, and when I trying to using prerender the project, it always get error.

WARNING: JavaScript error while prerendering: /home
ReferenceError: Can't find variable: Symbol

  phantomjs://code/phantom-page-render.js:26 in onError

please help, thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
scaccogattocommented, Jul 20, 2017

Can you try this? https://babeljs.io/docs/usage/polyfill/

npm install --save-dev babel-polyfill

then change your webpack config:

module.exports = {
  entry: ["babel-polyfill", "./app.js"]
};

(edit this with your app entry point)

0reactions
scaccogattocommented, Jul 21, 2017

It would be great if you could send a pull request editing the README file explaining that this plugin requires a very modern browser or a complete polyfill. Glad that helped you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

General tips and best practices - Troubleshooting - Prerender.io
What can go wrong? Let's first understand how Prerender.io works to pinpoint issues in our setup. A bot tries to fetch your site...
Read more >
[Resolved] HELP!! Can't Pre-Render! — FXhome Community
Odd, I would check my pre-render location and settings. Make sure theres free space available & settings are not restricting pre-renders. Pre- ...
Read more >
Blazor WASM .Net5 Prerender Page Cannot Be Found
If i type in localhost:port/Counter i get a Localhost page cannot be found. When I click the navlink for counter it shows the...
Read more >
Does it prerender or not? : r/sveltejs - Reddit
What does prerender and what does not when using static adapter (SSG)? Prerender: Load(), #Await? No pre render: OnMount, Browser?
Read more >
prerender = true in /+layout.server.ts breaks the route after ...
It is working as intended on SvelteKit's part. Pre-rendering stores the contents of the page at build time. As a result, the page...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found