Skip to content

Type error: Cannot find module '@/app/ui/fonts' or its corresponding type declarations. #60173

Answered by ananuness
ozee1z asked this question in Help
Discussion options

You must be logged in to vote

Okay! So let's start defining the baseUrl and the paths in the tsconfig as you can see in my previous answer! You can define:

"baseUrl": ".", 
paths: {
  "@/app/*": ["app/*"]
}

And see if it works for you already!

Replies: 11 comments 32 replies

Comment options

You must be logged in to vote
26 replies
@ananuness
Comment options

@ananuness
Comment options

@ozee1z
Comment options

@ananuness
Comment options

Answer selected by ozee1z
@ozee1z
Comment options

@ananuness
Comment options

@Lutir
Comment options

@ananuness
Comment options

Comment options

You must be logged in to vote
1 reply
@milkion
Comment options

Comment options

You must be logged in to vote
2 replies
@reflextoogood
Comment options

@guillim
Comment options

Comment options

You must be logged in to vote
1 reply
@whenmoon
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@romu70
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@beckrecca
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet