Eslint: Unable to resolve path to module 'vite-plugin-ssr/plugin' as of 0.3.57
See original GitHub issueAs of version 0.3.57:
in vite.config.ts
:
import { ssr } from "vite-plugin-ssr/plugin"
results in:
Unable to resolve path to module 'vite-plugin-ssr/plugin'
and anywhere I call getPage
:
import { getPage } from "vite-plugin-ssr/client"
results in:
Unable to resolve path to module 'vite-plugin-ssr/client'
This doesn’t happen in 0.3.56, but probably related to adding ESM support?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Vite.js + Eslint unable to resolve path alias #14667 - GitHub
I managed to set up my vite.config.js so that the app can resolve paths like this: ... Unable to resolve path to module...
Read more >Using eslint with typescript - Unable to resolve path to module
You can set the ESLint module import resolution by adding this snippet to your .eslintrc.json configuration file:
Read more >eslint/eslint - Gitter
I'm trying to setup eslint-plugin-import but I can't make it work xD ... 6:8 error Unable to resolve path to module '~/components' import/no-unresolved....
Read more >ESLint Unable to resolve path to module
Visual Studio 2022 shows errors for tsconfig paths when it's actually able to find them. ... Please fix these issues! ... Thanks for...
Read more >Known Problems - Contentlayer
ESLint error: Unable to resolve path to module 'next-contentlayer' (GitHub Issue ); useLivereload hook is needed in some cases (GitHub Issue ) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see. I’ll write the fix today/tomorrow.
Fix released in
v0.3.59
. It should now work but I didn’t test it; let me know if you still have problems with eslint.