Skip to content

Issue with language server (IntelliJ Idea Ultimate) #442

@Shuyinsama

Description

@Shuyinsama

Hi!

I am unsure if this is an issue with the package or with intellij and it's internal language servers but I am getting the following error on the import of import dts from 'unplugin-dts/vite'

Vue: Module "c:/Users/<username>/projects/monorepo-test/node_modules/unplugin-dts/dist/vite" has no default export

I tried setting the allowSyntheticDefaultImports value to true in my tsconfig.app.json and tsconfig.node.json and tsconfig.json.

Nothing gets rid of the message. I know it should work but somehow it doesn't.

This might also be because of a monorepo setup but I am not sure. Sadly I can't seem to reproduce it in a sandbox environment and I can't share the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions