Forum Discussion
MattV
2 days agoKhoros Staff
First, make sure you have the latest SDK installed (24.8). You can update this in package.json, then run npm install.
If that doesn't resolve it, go into tsconfig.json and make sure your "include" line looks like
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx", "types/**/*.ts"],
After saving tsconfig.json, and that STILL doesn't fix it, in VSCode try the following:
- Type ctrl/cmd + shift + p to open the command pallette
- Search for "Typescript: Restart TS Server" and click on that
- Give VS Code a moment to restart the TS Server (check status bar at bottom) and it should resolve your TS errors
Related Content
- 3 months ago
- 5 months ago