`Module not found: Can't resolve 'fs'
https://nextjs.org/docs/messages/module-not-found
`
please what do i do to resolve this. I’m a beginner, so i will appreciate a detailed explanation.
i deleted node modules and ran npm install. I’m building an e-commerce site with next.js and sanity schemas for backend
i deleted node modules and ran npm install severally to resolve it. I’m building an e-commerce site with nextjs and sanity schema for backend. i also ran npm i graceful-fs@latest --force
.
New contributor
Roc_dev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.