Next.js: with-typescript example 404s after build

Created on 9 Jun 2019  路  3Comments  路  Source: vercel/next.js

Example name

with-typescript

Describe the bug

Running README.md instructions results in 404 page showing up instead of an actual working typescript example

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Run step in readme: npx create-next-app --example with-typescript with-typescript-app
  2. $ cd into newly created directory
  3. Load localhost:3000 and get a 404 page
  4. All paths that exist in /pages produce a 404 error

Expected behavior

  1. Upon running yarn dev, application is available at specified port (:3000).

System information

  • OS: macOS 10.14.5 (18F132)
  • chrome
  • Version of Next.js:
$ next --version
Next.js v8.1.0

Most helpful comment

use Next 8.1.1-canary.28 or above

All 3 comments

use Next 8.1.1-canary.28 or above

Sorry for the noise -- but yes, for now please use the Next.js canaries. This will be released as stable soon!

Not ideal but can confirm this works (with [email protected])

Was this page helpful?
0 / 5 - 0 ratings

Related issues

renatorib picture renatorib  路  3Comments

wagerfield picture wagerfield  路  3Comments

knipferrc picture knipferrc  路  3Comments

ghost picture ghost  路  3Comments

havefive picture havefive  路  3Comments