I am working on a nextjs project using Prisma and GitHub auth, after running npm run dev
project fail to compile as shown in the image below;
How do I resolve this issue?
package.json below
{
"name": "hello-next",
"version": "1.0.0",
"description": "",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@prisma/client": "^3.6.0",
"next": "^12.0.7",
"next-auth": "^4.0.5",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-markdown": "5.0.2"
},
"devDependencies": {
"@types/next-auth": "3.1.14",
"@types/node": "14.14.6",
"@types/react": "16.9.56",
"prisma": "^3.6.0",
"typescript": "4.5.4"
}
}
next-auth/react
onnext-auth
v4. – Uncomfortable