Soy nuevo en nextjs y mi proyecto funcionaba bien hasta que no sé qué sucedió, solo recibí estos errores:
./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[2]!./styles/Navbar.css Error: Cannot find module 'nanoid/non-secure' Require stack: - C:\WEBd\watchthisnext\node_modules\postcss\lib\input.js - C:\WEBd\watchthisnext\node_modules\postcss\lib\map-generator.js - C:\WEBd\watchthisnext\node_modules\postcss\lib\lazy-result.js - C:\WEBd\watchthisnext\node_modules\postcss\lib\postcss.js - C:\WEBd\watchthisnext\node_modules\next\dist\build\webpack\config\blocks\css\index.js - C:\WEBd\watchthisnext\node_modules\next\dist\build\webpack\config\index.js - C:\WEBd\watchthisnext\node_modules\next\dist\build\webpack-config.js - C:\WEBd\watchthisnext\node_modules\next\dist\server\dev\hot-reloader.js - C:\WEBd\watchthisnext\node_modules\next\dist\server\dev\next-dev-server.js - C:\WEBd\watchthisnext\node_modules\next\dist\server\next.js - C:\WEBd\watchthisnext\node_modules\next\dist\server\lib\start-server.js - C:\WEBd\watchthisnext\node_modules\next\dist\cli\next-dev.js - C:\WEBd\watchthisnext\node_modules\next\dist\bin\nextPor favor ayúdame a arreglar esto. No tengo ni idea de por qué sucedió esto.