Skip to content

Guide users toward a working LSP/tsc setup with Next.js #25607

Closed
@nathanwhit

Description

@nathanwhit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    high priorityRequires an immediate release after being fixed.node compat

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions