19 Jan, 2022
If you're updating to Tailwind 3 then you're probably following these instructions: https://tailwindcss.com/docs/upgrade-guide#upgrade-packages
However, in doing so I came across two errors I couldn't work out how to fix.
ERESOLVE unable to resolve dependency tree error when you run
npm run dev.
To fix this run this first in Terminal:
npm i acorn --dev
npm install && npm run dev
That should sort out that problem.
Secondly, after everything else was working I started to get:
TypeError: Cannot read property '500' of undefined
In order to fix this you have to go to package.json and change the devDependency for Tailwind Forms to be:
That's it, you should be all set!