Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8665931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:36:19+00:00 2026-06-12T17:36:19+00:00

No matter what I do I cannot get the TSC Typescript compiler to find

  • 0

No matter what I do I cannot get the TSC Typescript compiler to find any files. I have tried both the tsc that comes with the Visual Studio Extension and the one that comes from npm. I’ve tried in the Node.js command line windows shell, and the Git Bash shell. No matter what I do, it just says the file is not found. I’ve read that the compiler will only work for .ts and .str files, but that does not seem to be the problem.

Here is a quick example of what I’m seeing. I know these files will be empty, but I’ve tried all of this with files containing code and it doesn’t change anything.

C:\>touch test.ts

C:\>ls *.ts
test.ts

C:\>tsc test.ts
Error reading file "test.ts": File not found

C:\>tsc C:\test.ts
Error reading file "C:\test.ts": File not found

C:\>touch test.str

C:\>tsc test.str
Error reading file "test.str": File not found

C:\>tsc ./test.str
Error reading file "./test.str": File not found

C:\>tsc ./test.ts
Error reading file "./test.ts": File not found

C:\>touch test.js.ts

C:\>tsc test.ts
Error reading file "test.ts": File not found

C:\>tsc test.js
Error reading file "test.js": File not found
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:36:20+00:00Added an answer on June 12, 2026 at 5:36 pm

    I’m afraid, that TSC fails that way on empty files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No matter what I do, I cannot get any results in my $_POST array.
I cannot seem to get the quotes around this statement right. No matter what
I know for a matter of fact that Type cannot be used when passing
Sorry I cannot post any source code... I have a code running a master/slave
No Matter what i do, i cannot get a post published to an application
I must have looked at 10-15 tutorials on this already but just cannot get
I have a problem with a p:selectOneMenu, no matter what I do I cannot
For some reason, no matter how I go about it, I cannot get TortoiseSVN
I cannot get this to work no matter how much searching and different variations
No matter what I try, it never matches the sign. I even tried using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.