fridays / next-routes

Universal dynamic routes for Next.js
MIT License
2.47k stars 230 forks source link

Next-routes + Express / CreateServer not working on local #140

Closed JulienHe closed 6 years ago

JulienHe commented 6 years ago

Hi everyone,

I'm trying to run next + next routes on a local development. So everything is working pretty well but when I try to make it work with Express or even not express it can't find the pages.

screen shot 2018-02-20 at 9 57 21 screen shot 2018-02-20 at 9 58 07

I made a repo with a specific branch : https://github.com/JulienHe/firebase-next-routes-example/tree/localNext

Working with Next.js v5

Hope someone can tell me where I screw up :+1:

Thanks!

fridays commented 6 years ago

Hey, it looks like the dev script is running the next command but it should instead run the custom server file like so: node src/server.js