Closed
Description
The project produced by create-next-app will, by default, result in deno LSP errors and fail to pass deno check
.
While we have decided in #25359 that this isn't our bug, the developer experience of trying to figure this out is very poor. I personally spent multiple hours trying to come up with a workaround to no avail, and I suspect many users will struggle as well.
Given that the out-of-the-box experience will not be ideal (due to us considering it not fixable on our end), we should guide users to a working setup more gracefully. This might be done through better error messages or LSP diagnostics, or perhaps an autofix to implement a workaround or change the config.