/nextjs-catchall-dynamic-import-500

Catch all dynamic import 500 bug

Primary LanguageJavaScript

This repo is demonstrate how to make page render 500 after user click the link.

The target page itself doesn't have any bug but the catch all page has bug. To reproduce this,

  • Build the project with yarn build and start the project with yarn start
  • Navigate to http://localhost:3000
  • Click on the link and the page will show 500 error