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

vite-ssr middlewave mode in nestjs show warning #180

Open
zhuchentong opened this issue Sep 21, 2022 · 0 comments
Open

vite-ssr middlewave mode in nestjs show warning #180

zhuchentong opened this issue Sep 21, 2022 · 0 comments

Comments

@zhuchentong
Copy link

I use vite-ssr for nestjs framework, that's worked.but some warning still display.

vite-ssr doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

[Vue Router warn]: No match found for location with path "/sw.js/"

i don't konw how to resolve that

the reproduct demo is:

https://github.com/zhuchentong/vite-ssr-demo/tree/vite-ssr

the dependencies version is:
vite 3
nestjs 9
vite-ssr 0.16.0

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

No branches or pull requests

1 participant