Typescript TS5042 Build: Option 'project' cannot be mixed with source files on a command line

Viewed 22075

I am receiving the following error across all typescript projects that I am trying run.

TS5042  Build: Option 'project' cannot be mixed with source files on a command line.

I have downloaded a free Typescript Angular2 template, ran it and this error immediately pops up.

Has it got something to do with my global typescript installation?

7 Answers

Not use Powershell. Use the old command.com in your configuration.

{
    "files.autoSave": "afterDelay",
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe"
}
Related