Skip to content

VS extension Svelte for VS Code introduced errors in Version 109.00 on MacOS : absolute paths + tsconfig.json #2486

@ayaphi

Description

@ayaphi

Describe the bug

(1) Svelte components imports that use absolute paths, create a cannot find module or its corresponding type declarations ts(2307) error in VS Code. Relative path imports work fine.

VS Code Errors

(2) Opening tsconfig.json creates an error message : No svelte input files were found in config file „…/tsconfig.json“. Did you forget to add svelte files to the 'include' in your tsconfig.json? Specified 'include' paths were '["**/*.ts"]' and 'exclude' paths were ‚undefined'

Reproduction

Use Svelte for VS Code version 109.00 on MacOS 14.6.1

Downgrading to the latest version 108.6.1, everything works as expected.

Expected behaviour

The errors should not appear - sounds silly, but that's it ;-).

System Info

VS Code Version 1.92.2 on MacOS 14.6.1.

Which package is the issue about?

No response

Additional Information, eg. Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions