vscode can not parse page.tsx after initiation
Unanswered
English Foxhound posted this in #help-forum
English FoxhoundOP
Hey folks. I used
Any ideas? I suspect it is something wrong with vscode, but I have tried resetting everything
create-next-app to create the app, and then the editor can not parse the tsx properly, error: Cannot find name 'div'.ts(2304)Any ideas? I suspect it is something wrong with vscode, but I have tried resetting everything
5 Replies
@English Foxhound Hey folks. I used `create-next-app` to create the app, and then the editor can not parse the tsx properly, error:
Cannot find name 'div'.ts(2304)
Any ideas? I suspect it is something wrong with vscode, but I have tried resetting everything
Just vscode being drunk; restart the ts server
Either way it is harmless and should go away soon
Restart vscode, restart ts server, run npm run dev, etc
Ofc ensure you have installed the dependencies
English FoxhoundOP
Just tried, doesn't work 
