Me encontré con el módulo next-auth/react no encontrado, aunque ya está instalado. Intenté degradar y actualizar la versión de reacción, pero nada parece funcionar. Cada vez que intento instalar next-auth/react directamente con yarn add , devuelve un error con acceso denegado a github.
Este es mi paquete.json
{ "name": "with-typescript", "version": "1.0.0", "scripts": { "dev": "next", "build": "next build", "start": "next start", "type-check": "tsc", "lint": "eslint **/**", "lint:fix": "eslint **/** --fix", "test": "NODE_ENV=test jest --passWithNoTests --watch", "test:ci": "NODE_ENV=test jest --passWithNoTests" }, "dependencies": { "@emotion/cache": "^11.9.3", "@emotion/core": "10.1.1", "@emotion/react": "^11.9.3", "@emotion/server": "^11.4.0", "@emotion/styled": "^11.9.3", "@material-ui/core": "^4.12.4", "@material-ui/icons": "^4.11.3", "@material-ui/styles": "^4.11.5", "@mui/material": "^5.8.4", "@sanity/client": "^3.3.2", "axios": "^0.27.2", "dotenv": "^8.2.0", "emotion": "^11.0.0", "formik": "^2.2.9", "isomorphic-unfetch": "3.0.0", "jest": "^25.2.1", "next": "latest", "next-auth": "^4.5.0", "next-auth-sanity": "^1.4.3", "path": "^0.12.7", "prop-types": "^15.8.1", "react": "^16.13.1", "react-dom": "^16.12.0", "styled-components": "^5.3.5", "yup": "^0.32.11" }, "devDependencies": { "@types/node": "^12.12.21", "@types/react": "^16.9.16", "@types/react-dom": "^16.9.4", "eslint": "^6.8.0", "eslint-config-airbnb-typescript-prettier": "^2.1.0", "prettier": "^1.18.2", "typescript": "4.3.2" }, "license": "ISC" }