Skip to content

Common Errors and Solutions

Phaiax edited this page Mar 13, 2015 · 3 revisions

ArcticTypescript: error : Completion request failed: "TSS command processing error: Error: Could not find file: 'c:/users/****/somefile.ts'."

  • This error happens if you try a completion request (or similar commands) on a file which is not tracked by ArcticTypescript.
  • Make sure your file can be found by ArcticTypescript: It has to be in the tsconfig.json["files"] list OR must be referenced ( /// <reference path="somefile.ts">) or imported (import x = require('somefile');, amd or commonjs) by a file listed in tsconfig.json["files"].
  • Pro-Tip: To catch all files, you can use tsconfig.json["filesGlob"]. This will automatically search for all files, every time you save tsconfig.json:
{
    "compilerOptions": { ... },
    "filesGlob": [
        "./**/*.ts",
        "!./node_modules/**/*.ts"
    ]
}
  • reload the project: Goto Anything (ctrl + shift + p) -> Arctic Typescript: Reopen ...
Clone this wiki locally