Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using tailwind, the deno.json generates deprecated nodeModulesDir #2813

Open
crowlsyong opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@crowlsyong
Copy link

  1. Update deno to latest version with deno upgrade
  2. Create a brand new fresh project with deno run -A -r https://fresh.deno.dev and select tailwind and vscode
  3. cd into project
  4. deno task start
  5. terminal throws this error: Warning "nodeModulesDir": true is deprecated in Deno 2.0. Use "nodeModulesDir": "auto" instead
  6. Simple fix: "nodeModulesDir": true should be "nodeModulesDir": "auto"
  7. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant