dunglas / react-esi

React ESI: Blazing-fast Server-Side Rendering for React and Next.js
https://dunglas.fr/2019/04/react-esi-blazing-fast-ssr/
MIT License
676 stars 30 forks source link

fix: repair build and add react 18 to peerDeps #46

Closed Fabious closed 1 year ago

Fabious commented 1 year ago

3 small things with this PR:


❯ npm run dev

> my-app@0.1.0 dev
> next dev

- ready started server on 0.0.0.0:3000, url: http://localhost:3000
- event compiled client and server successfully in 155 ms (20 modules)
- wait compiling...
- event compiled client and server successfully in 99 ms (20 modules)
- wait compiling /page (client and server)...
- event compiled client and server successfully in 1059 ms (444 modules)
- wait compiling...
- event compiled successfully in 125 ms (220 modules)
- error Error: Cannot find module './server'
Require stack:
- /home/fabious/Code/my-app/.next/server/app/page.js
dunglas commented 1 year ago

Awesome. Thanks!