Failed to compile. Entry point for implicit type library 'mime'
I suddenly started getting this error message when trying to compile. The dev server works fine.
I tried installing
@types/mime and including "types": ["node"] in my tsconfig.json/compileOptions.
The same error message appears on Vercel as well, so it's nothing about my setup.
I suspected it could be caused by some JSON imports, so I appended with { type: 'json' } to my imports.
0 Replies