You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
deno upgrade
deno run -A -r https://fresh.deno.dev
and select tailwind and vscodedeno task start
"nodeModulesDir": true
is deprecated in Deno 2.0. Use"nodeModulesDir": "auto"
instead"nodeModulesDir": true
should 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.
The text was updated successfully, but these errors were encountered: