Skip to content
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

Next JS app built using output: 'export' not rendered properly #64961

Open
tusharvelingkar opened this issue Apr 24, 2024 · 0 comments
Open

Next JS app built using output: 'export' not rendered properly #64961

tusharvelingkar opened this issue Apr 24, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template. create-next-app Related to our CLI tool for quickly starting a new Next.js application.

Comments

@tusharvelingkar
Copy link

tusharvelingkar commented Apr 24, 2024

Link to the code that reproduces this issue

https://github.com/tusharvelingkar/static-export-bug

To Reproduce

  1. Create new nextjs app
  2. Update next config to output as static site
  3. Open the outputted page from out folder

Current vs. Expected behavior

Current Output
image

Expected Output
image
Above output is when app run using dev mode

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP Thu Mar 14 14:20:09 EDT 2024
  Available memory (MB): 31893
  Available CPU cores: 8
Binaries:
  Node: 20.11.1
  npm: 10.2.4
  Yarn: 1.22.19
  pnpm: 8.12.1
Relevant Packages:
  next: 14.2.2 // Latest available version is detected (14.2.2).
  eslint-config-next: 14.2.2
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.5
Next.js Config:
  output: export

Which area(s) are affected? (Select all that apply)

create-next-app

Which stage(s) are affected? (Select all that apply)

next build (local)

Additional context

No response

@tusharvelingkar tusharvelingkar added the bug Issue was opened via the bug report template. label Apr 24, 2024
@github-actions github-actions bot added the create-next-app Related to our CLI tool for quickly starting a new Next.js application. label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. create-next-app Related to our CLI tool for quickly starting a new Next.js application.
Projects
None yet
Development

No branches or pull requests

1 participant