I ran into this error in a Next.js application:
Module not found: Can’t resolve ‘encoding’ in …/node_modules/node-fetch/lib’
To fix this, I ran npm install encoding
and the error was gone!
Published Apr 18 2023
I ran into this error in a Next.js application:
Module not found: Can’t resolve ‘encoding’ in …/node_modules/node-fetch/lib’
To fix this, I ran npm install encoding
and the error was gone!