-
Notifications
You must be signed in to change notification settings - Fork 513
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
[Nuxt/Vite] paths in types are absolute. Incompatible with WSL2 and WebStorm #1560
Comments
I believe this is already resolved on the edge. Would you check? |
Much better but still contains bugs, reopen. 😞 |
@danielroe Do you think it would be good to have support for controlling |
@danielroe @pi0 I just tested and unfortunately it still doesn't work properly... 😞
// ...
export { defineCachedFunction, defineCachedEventHandler, cachedFunction, cachedEventHandler, useRuntimeConfig, useStorage, useNitroApp, defineNitroPlugin, nitroPlugin, defineRenderHandler, getRouteRules, useAppConfig, useEvent } from '/home/xxx/Projects/upscore/node_modules/.pnpm/nitropack-edge@2.6.0-28201391.6af6fd1/node_modules/nitropack-edge/dist/runtime';
// ... |
@misaon Would you provide a reproduction? |
|
@danielroe tested, works great. |
Environment
Nitro 2.5.2
Node 18.17
Reproduction
nuxt/nuxt#21827 (comment)
Describe the bug
Why is the .nuxt folder and its dt.ts so inconsistent? Some places are relative imports, some places are absolute. WebStorm can't handle absolute paths in WSL2, so Nuxt 3 is unusable in that environment. It would make much more sense to me if all imports were relative.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: