denoland / vscode_deno

Visual Studio Code plugin for Deno
https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno
MIT License
1.49k stars 146 forks source link

Already included file name: file with customs extension #903

Open ynwd opened 1 year ago

ynwd commented 1 year ago

TS error: Already included file name on file with customs extension.

but NO ERROR on build process.

Already included file name 'file:///Users/pro/Documents/deno/app/index/index.handler.ts' differs from file name 'file:///Users/pro/Documents/deno/app/index/index.Handler.ts' only in casing.
  The file is in the program because:
    Root file specified for compilation    Imported via "./index.handler.ts" from file 'file:///Users/pro/Documents/deno/app/index/mod.ts'    Root file specified for compilationdeno-ts(1261)

To Reproduce

Expected behavior

Screenshots

Screenshot 2023-09-02 at 14 11 15

Versions

swiftsword94 commented 2 months ago

I have a similar issue. I resolved mine by disabling the extension and re-enabling it. Seems to be some sort of file name caching issue in deno/deno extension.