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.

Hypernova SSR Example Doesn't Work

See original GitHub issue

I followed the Hypernova SSR example, but the webpages I receive are completely blank.

Tried to run the example directly, the following error occurs on the hypernova server:

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module

Any idea why this could be?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
baranyildirimcommented, Feb 7, 2021

Tried the example again and it works with Node 12.13.0

1reaction
marteinncommented, Feb 8, 2021

Just pushed out a quickfix: https://github.com/marteinn/django-react-polls-with-hypernova-examples/commit/61dca485f77266bcf84ed4774200e957c5e0b615

I’m also planning on closing this issue (will keep it open a couple of hours more for discussions) and instead open up a new issue at the https://github.com/marteinn/django-react-polls-with-hypernova-examples repo, as it is not a DRTT issue but rather in one of the examples. (DRTT has no opinion on how you do implement your hypernova server.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Server Side Rendering with Hypernova - Blog
Here are some great benefits to Server Side Rendering (SSR) your React components: Improved SEO Results; No waiting for JavaScript to load on ......
Read more >
airbnb/hypernova - Gitter
Writing your own bindings doesn't seem so hard. I was looking at hypernova-react implementation and it's just a few lines of code.
Read more >
Build React Server Side Rendering with Hypernova in Rails
The benefits of server-side rendering (SSR) are quite evident, ... Open sourced by Airbnb, Hypernova is a pure rendering service that only ...
Read more >
Hypernova - Airbnb Engineering & Data Science
hypernova - The universal component that takes care of turning your view into the HTML structure it needs to server-render. On the browser...
Read more >
Serverside Rendering of Vue components - GitLab.org
Hypernova was developed by Airbnb, and allows them to render ... On GitLab.com, we could run the the nodejs process alongside the Ruby ......
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