- Update deno to latest version with
deno upgrade
- Create a brand new fresh project with
deno run -A -r https://fresh.deno.dev and select tailwind and vscode
- cd into project
deno task start
- terminal throws this error: Warning
"nodeModulesDir": true is deprecated in Deno 2.0. Use "nodeModulesDir": "auto" instead
- Simple fix:
"nodeModulesDir": true should be "nodeModulesDir": "auto"
- Super awesome fix: fresh devs could update the way fresh generates the deno.json file so I don't have to do this every time.
P.S. I snooped around at the files in the fresh repo but I couldn't find where it incorrectly creates this part of the deno.json file. sorry for not putting up a merge request, i would have if i was better at this XD
P.P.S. Shout out to Marvin the goat.
deno upgradedeno run -A -r https://fresh.deno.devand select tailwind and vscodedeno task start"nodeModulesDir": trueis deprecated in Deno 2.0. Use"nodeModulesDir": "auto"instead"nodeModulesDir": trueshould be"nodeModulesDir": "auto"P.S. I snooped around at the files in the fresh repo but I couldn't find where it incorrectly creates this part of the deno.json file. sorry for not putting up a merge request, i would have if i was better at this XD
P.P.S. Shout out to Marvin the goat.