Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not have the required package error fix (#28662)
The following error occurred when I created a project with the typecript template of createp-next-app and did the 'next build'. ```shell It looks like you're trying to use TypeScript but do not have the required package(s) installed. Please install @types/node by running: yarn add --dev @types/node If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages directory). ``` This issue was resolved by adding @types/node. So I added @types/node to the devDependencies of the create-next-app typecript template.
- Loading branch information
c1dbc12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome