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

An error log [vite] cannot find entry point module 'virtual:entry-server-wrapper'. shows up when updating files #669

Closed
hi-ogawa opened this issue Jan 24, 2025 · 0 comments · Fixed by #671

Comments

@hi-ogawa
Copy link
Owner

hi-ogawa commented Jan 24, 2025

I just noticed this error log shows up now in hi-ogawa/next-app-router-playground#11. HMR is working fine as we have thorough tests, but the log is quite bothering. I'm not sure whether this happens since #297 or #634. This happens since #634.

reproduction

  • start pnpm -C packages/react-server/examples/basic dev
  • open http://localhost:5173/
  • update packages/react-server/examples/basic/src/routes/page.tsx
$ pnpm -C packages/react-server/examples/basic dev
...

3:41:16 PM [vite] (rsc) page reload src/routes/test/page.tsx
[vite] program reload
[vite] An error happened during full reload
[vite] cannot find entry point module 'virtual:entry-server-wrapper'.
Error: [vite] cannot find entry point module 'virtual:entry-server-wrapper'.
    at fetchModule (file:///home/hiroshi/code/personal/vite-plugins/node_modules/.pnpm/vite@6.0.11_@types+node@20.14.10_jiti@1.21.0_terser@5.31.2_tsx@4.16.2/node_modules/vite/dist/node/chunks/dep-M1IYMR16.js:51654:13)
    at async handleInvoke (file:///home/hiroshi/code/personal/vite-plugins/node_modules/.pnpm/vite@6.0.11_@types+node@20.14.10_jiti@1.21.0_terser@5.31.2_tsx@4.16.2/node_modules/vite/dist/node/chunks/dep-M1IYMR16.js:44342:22)
    at async EventEmitter.listenerForInvokeHandler (file:///home/hiroshi/code/personal/vite-plugins/node_modules/.pnpm/vite@6.0.11_@types+node@20.14.10_jiti@1.21.0_terser@5.31.2_tsx@4.16.2/node_modules/vite/dist/node/chunks/dep-M1IYMR16.js:44415:19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant