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.

Next 8.1.0 doesn't server-side render

See original GitHub issue

Bug report

Describe the bug

After upgrade Nextjs from 8.0.4 to 8.1.0, it doesn’t server-side render anymore. It’s become client-side render apps instead. But the weird thing is the redux store + styled-components are server-side render correctly. But the site content doesn’t server-side render.

To Reproduce

Using Nextjs 8.1.0 -> Build -> Running apps -> See the result!

Expected behavior

The apps should server-side rendered.

Screenshots

image

The entry <div id="_next"> should not be an empty div.

System information

  • OS: Linux Server (node:8.12.0-alpine image)
  • Version of Next.js: 8.1.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
timneutkenscommented, Apr 19, 2019

Please provide a reproduction. It’s impossible to help otherwise.

0reactions
balazsorban44commented, Jan 30, 2022

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Next 8.1.0 doesn't server-side render · Issue #7064 - GitHub
After upgrade Nextjs from 8.0.4 to 8.1.0, it doesn't server-side render anymore. It's become client-side render apps instead. But the weird ...
Read more >
Server-side rendering broken after upgrading to MUI 5 (with ...
I launched the official SSR Next.js implementation. It showed it doesn't work either. Server-side rendering with JavaScript disabled. For more ...
Read more >
How to Disable Server-Side Rendering (SSR) in Next.js
Step 1: Rewrite All Requests to pages/index.js · Step 2: Disable SSR for Page Content · Step 3: Check that Everything Works with...
Read more >
next - npm
The aim is to support "shadow CSS" similar to Web Components, which unfortunately do not support server-rendering and are JS-only.
Read more >
Server Side Rendering - React - Alfabolt
Server side rendering will always be more reliable and since search engines only allocate a limited time slice to each site to crawl...
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