Open
Description
When running azd up
, the frontend build step fails with errors like:
error TS2307: Cannot find module '@/lib/utils' or its corresponding type declarations.
This seems to be due to missing or incorrect paths
configuration in tsconfig.json
. To fix this, adding the following to frontend/tsconfig.json
under compilerOptions
resolves the issue:
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
}
}
Metadata
Metadata
Assignees
Labels
No labels