As I develop a next.js web app with typescript and tailwind CSS, I encountered an issue. When running yarn dev
in the terminal, I received this error message:
FatalError: error TS6046: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenext'.
Despite attempting to reinstall my packages, the problem persists.