Initialize a Next.js 9 project with TypeScript

Share this video with your friends

Send Tweet

In this lesson, we will learn how to initialize a Next.js 9 project with TypeScript support from scratch.

namrata1695
namrata1695
~ 2 years ago

in index.tsx file I get error below <h1> saying "cannot find name React".

Zac Jones
Zac Jones
~ 2 years ago

in index.tsx file I get error below <h1> saying "cannot find name React".

Check to see if React is defined in your package.json, you might need to install it and import it into that file