Import path aliases not working using turbo repo and nextjs #7824
Replies: 1 comment 1 reply
-
Duplicate of #620 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Whenever I try to import a file from inside a package using relative paths ("@/component/file"), I get this error:
I'm only able to import the module if I use absolute paths ("../../component/file"), my vscode doesn't throw any errors, and I can't seem to find a solution for this. I'll paste all my config below
Path => packages => server => src => actions => login.ts
my tsconfig.json
my base config.json
and the package.json of this package
Additional information
No response
Example
https://github.com/fernandortec/next-auth-v5
Beta Was this translation helpful? Give feedback.
All reactions