You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new TS file anywhere in the apps/nextjs/src directory:
code apps/nextjs/src/test.ts
Save the empty file. Observe the red tilde under the cursor, which provides the following error:
Parsing error: [path]/my-turborepo/apps/nextjs/src/test.ts was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.eslint
Additional information
Restarting the TS server does not help. Only workaround I can find is restarting VS Code entirely.
EDIT: I can also close and re-open the workspace instead of restarting the editor.
The text was updated successfully, but these errors were encountered:
Provide environment information
Describe the bug
Creating new files in the Next.js app produces linting errors in VS Code. Only workaround is restarting the editor.
Link to reproduction
https://github.com/t3-oss/create-t3-turbo
To reproduce
Clone the stock repo using the CLI command from the docs:
Open in VS Code:
Create a new TS file anywhere in the apps/nextjs/src directory:
Save the empty file. Observe the red tilde under the cursor, which provides the following error:
Additional information
Restarting the TS server does not help. Only workaround I can find is restarting VS Code entirely.
EDIT: I can also close and re-open the workspace instead of restarting the editor.
The text was updated successfully, but these errors were encountered: