Skip to content
Discussion options

You must be logged in to vote

The config file at https://github.com/denoland/react-vite-ts-template/blob/main/deno.json should be amended in the following ways:

  • Add "nodeModulesDir": "auto", allowing you to remove --node-modules-dir=auto from the tasks.
  • Remove compilerOptions.types.

So it's a bug with the template.

After that, remove deno.lock and node_modules just in case and then deno check should work. You might have to restart the language server after populating node_modules to fix intellisense.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@martycagas
Comment options

Answer selected by nayeemrmn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants