'Getting errors in tsconfig.json after adding Tailwindcss v3 to Nextjs (create-next-app --typescipt)
Here is the error in VS code
Cannot find type definition file for 'accepts'.
The file is in the program because:
Entry point for implicit type library 'accepts'
I have tried installing types for 'accepts' using "yarn add @types/accepts" but then it shows the same error for "body-parser" and keeps going on and on and telling me to add types for different packages which are unknown to me.
Package Versions:
"next": "^12.0.8"
"tailwindcss": "^3.0.15",
"postcss": "^8.4.5",
"autoprefixer": "^10.4.2",
"typescript": "^4.5.5"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
