TypeScript TS6053: File ' .ts' not found












9















I'm getting this error




error TS6053: File 'xxx.ts' not found.




but the files compiles fine yesterday, but today no, after reviewing, I made this simple test



class HelloWorld {

public static main(): number{

return 0;
}
}
HelloWorld.main();


but I get the same error, anyone know the reason for this or may be the error




error TS6053: File 'HelloWorld.ts' not found.




https://github.com/Microsoft/TypeScript/blob/v1.6.2/src/compiler/diagnosticMessages.json#L2205





UPDATE:



Closing the ide, and open the error does not solve everything was the same.



Opened the ide,



file > folder close



file > open folder > your folder



this fix the error.










share|improve this question




















  • 1





    I have resolved the error, but something strange may be a bug will try to put a update, sorry for my bad English

    – Angel Angel
    Mar 9 '16 at 14:10
















9















I'm getting this error




error TS6053: File 'xxx.ts' not found.




but the files compiles fine yesterday, but today no, after reviewing, I made this simple test



class HelloWorld {

public static main(): number{

return 0;
}
}
HelloWorld.main();


but I get the same error, anyone know the reason for this or may be the error




error TS6053: File 'HelloWorld.ts' not found.




https://github.com/Microsoft/TypeScript/blob/v1.6.2/src/compiler/diagnosticMessages.json#L2205





UPDATE:



Closing the ide, and open the error does not solve everything was the same.



Opened the ide,



file > folder close



file > open folder > your folder



this fix the error.










share|improve this question




















  • 1





    I have resolved the error, but something strange may be a bug will try to put a update, sorry for my bad English

    – Angel Angel
    Mar 9 '16 at 14:10














9












9








9








I'm getting this error




error TS6053: File 'xxx.ts' not found.




but the files compiles fine yesterday, but today no, after reviewing, I made this simple test



class HelloWorld {

public static main(): number{

return 0;
}
}
HelloWorld.main();


but I get the same error, anyone know the reason for this or may be the error




error TS6053: File 'HelloWorld.ts' not found.




https://github.com/Microsoft/TypeScript/blob/v1.6.2/src/compiler/diagnosticMessages.json#L2205





UPDATE:



Closing the ide, and open the error does not solve everything was the same.



Opened the ide,



file > folder close



file > open folder > your folder



this fix the error.










share|improve this question
















I'm getting this error




error TS6053: File 'xxx.ts' not found.




but the files compiles fine yesterday, but today no, after reviewing, I made this simple test



class HelloWorld {

public static main(): number{

return 0;
}
}
HelloWorld.main();


but I get the same error, anyone know the reason for this or may be the error




error TS6053: File 'HelloWorld.ts' not found.




https://github.com/Microsoft/TypeScript/blob/v1.6.2/src/compiler/diagnosticMessages.json#L2205





UPDATE:



Closing the ide, and open the error does not solve everything was the same.



Opened the ide,



file > folder close



file > open folder > your folder



this fix the error.







typescript visual-studio-code






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 '16 at 14:38







Angel Angel

















asked Mar 9 '16 at 14:01









Angel AngelAngel Angel

5,593124476




5,593124476








  • 1





    I have resolved the error, but something strange may be a bug will try to put a update, sorry for my bad English

    – Angel Angel
    Mar 9 '16 at 14:10














  • 1





    I have resolved the error, but something strange may be a bug will try to put a update, sorry for my bad English

    – Angel Angel
    Mar 9 '16 at 14:10








1




1





I have resolved the error, but something strange may be a bug will try to put a update, sorry for my bad English

– Angel Angel
Mar 9 '16 at 14:10





I have resolved the error, but something strange may be a bug will try to put a update, sorry for my bad English

– Angel Angel
Mar 9 '16 at 14:10












2 Answers
2






active

oldest

votes


















0














I had similar issue, a bunch of files were giving TS6053: File ' .cs' not found



Checking out the project and undoing all changes on the project solved the issue for me






share|improve this answer































    0














    I got this "TS6053" error because Visual Studio 2017 didn't find a folder I added to a Angularjs project.



    The solution posted above by Angel Angel to restart the IDE (or Visual Studio) in my case) fixed the issue.



    Hopefully this answer can help someone who's googling for the error and visual studio.
    I'll also include the entire error message to catch searches for the same error.



    Severity Code Description Project File Line Suppression State Error TS6053 File 'C:/Users/.../my_project/node_modules/xlsx/types' not found. my_project JavaScript Content Files 1 Active


    Closing and opening Visual Studio fixed my issue. Thanks to Angel Angel






    share|improve this answer
























    • How does this 'answer' improve on what the OP himself already posted?

      – Mathyn
      Feb 15 at 13:44











    • The error I was getting seemed to be because VS didn't find a folder. Hopefully someone else who's googling on the error message and a problem with not finding a folder will find this page more easily than I did. Also including the entire error message could help google rank this as more relevant. That's my reasoning.

      – Emanuel Lindström
      Feb 16 at 15:09













    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f35893723%2ftypescript-ts6053-file-ts-not-found%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I had similar issue, a bunch of files were giving TS6053: File ' .cs' not found



    Checking out the project and undoing all changes on the project solved the issue for me






    share|improve this answer




























      0














      I had similar issue, a bunch of files were giving TS6053: File ' .cs' not found



      Checking out the project and undoing all changes on the project solved the issue for me






      share|improve this answer


























        0












        0








        0







        I had similar issue, a bunch of files were giving TS6053: File ' .cs' not found



        Checking out the project and undoing all changes on the project solved the issue for me






        share|improve this answer













        I had similar issue, a bunch of files were giving TS6053: File ' .cs' not found



        Checking out the project and undoing all changes on the project solved the issue for me







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 20 '18 at 9:10









        Pratyush DhanukaPratyush Dhanuka

        4211519




        4211519

























            0














            I got this "TS6053" error because Visual Studio 2017 didn't find a folder I added to a Angularjs project.



            The solution posted above by Angel Angel to restart the IDE (or Visual Studio) in my case) fixed the issue.



            Hopefully this answer can help someone who's googling for the error and visual studio.
            I'll also include the entire error message to catch searches for the same error.



            Severity Code Description Project File Line Suppression State Error TS6053 File 'C:/Users/.../my_project/node_modules/xlsx/types' not found. my_project JavaScript Content Files 1 Active


            Closing and opening Visual Studio fixed my issue. Thanks to Angel Angel






            share|improve this answer
























            • How does this 'answer' improve on what the OP himself already posted?

              – Mathyn
              Feb 15 at 13:44











            • The error I was getting seemed to be because VS didn't find a folder. Hopefully someone else who's googling on the error message and a problem with not finding a folder will find this page more easily than I did. Also including the entire error message could help google rank this as more relevant. That's my reasoning.

              – Emanuel Lindström
              Feb 16 at 15:09


















            0














            I got this "TS6053" error because Visual Studio 2017 didn't find a folder I added to a Angularjs project.



            The solution posted above by Angel Angel to restart the IDE (or Visual Studio) in my case) fixed the issue.



            Hopefully this answer can help someone who's googling for the error and visual studio.
            I'll also include the entire error message to catch searches for the same error.



            Severity Code Description Project File Line Suppression State Error TS6053 File 'C:/Users/.../my_project/node_modules/xlsx/types' not found. my_project JavaScript Content Files 1 Active


            Closing and opening Visual Studio fixed my issue. Thanks to Angel Angel






            share|improve this answer
























            • How does this 'answer' improve on what the OP himself already posted?

              – Mathyn
              Feb 15 at 13:44











            • The error I was getting seemed to be because VS didn't find a folder. Hopefully someone else who's googling on the error message and a problem with not finding a folder will find this page more easily than I did. Also including the entire error message could help google rank this as more relevant. That's my reasoning.

              – Emanuel Lindström
              Feb 16 at 15:09
















            0












            0








            0







            I got this "TS6053" error because Visual Studio 2017 didn't find a folder I added to a Angularjs project.



            The solution posted above by Angel Angel to restart the IDE (or Visual Studio) in my case) fixed the issue.



            Hopefully this answer can help someone who's googling for the error and visual studio.
            I'll also include the entire error message to catch searches for the same error.



            Severity Code Description Project File Line Suppression State Error TS6053 File 'C:/Users/.../my_project/node_modules/xlsx/types' not found. my_project JavaScript Content Files 1 Active


            Closing and opening Visual Studio fixed my issue. Thanks to Angel Angel






            share|improve this answer













            I got this "TS6053" error because Visual Studio 2017 didn't find a folder I added to a Angularjs project.



            The solution posted above by Angel Angel to restart the IDE (or Visual Studio) in my case) fixed the issue.



            Hopefully this answer can help someone who's googling for the error and visual studio.
            I'll also include the entire error message to catch searches for the same error.



            Severity Code Description Project File Line Suppression State Error TS6053 File 'C:/Users/.../my_project/node_modules/xlsx/types' not found. my_project JavaScript Content Files 1 Active


            Closing and opening Visual Studio fixed my issue. Thanks to Angel Angel







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 15 at 13:21









            Emanuel LindströmEmanuel Lindström

            494




            494













            • How does this 'answer' improve on what the OP himself already posted?

              – Mathyn
              Feb 15 at 13:44











            • The error I was getting seemed to be because VS didn't find a folder. Hopefully someone else who's googling on the error message and a problem with not finding a folder will find this page more easily than I did. Also including the entire error message could help google rank this as more relevant. That's my reasoning.

              – Emanuel Lindström
              Feb 16 at 15:09





















            • How does this 'answer' improve on what the OP himself already posted?

              – Mathyn
              Feb 15 at 13:44











            • The error I was getting seemed to be because VS didn't find a folder. Hopefully someone else who's googling on the error message and a problem with not finding a folder will find this page more easily than I did. Also including the entire error message could help google rank this as more relevant. That's my reasoning.

              – Emanuel Lindström
              Feb 16 at 15:09



















            How does this 'answer' improve on what the OP himself already posted?

            – Mathyn
            Feb 15 at 13:44





            How does this 'answer' improve on what the OP himself already posted?

            – Mathyn
            Feb 15 at 13:44













            The error I was getting seemed to be because VS didn't find a folder. Hopefully someone else who's googling on the error message and a problem with not finding a folder will find this page more easily than I did. Also including the entire error message could help google rank this as more relevant. That's my reasoning.

            – Emanuel Lindström
            Feb 16 at 15:09







            The error I was getting seemed to be because VS didn't find a folder. Hopefully someone else who's googling on the error message and a problem with not finding a folder will find this page more easily than I did. Also including the entire error message could help google rank this as more relevant. That's my reasoning.

            – Emanuel Lindström
            Feb 16 at 15:09




















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f35893723%2ftypescript-ts6053-file-ts-not-found%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            Xamarin.form Move up view when keyboard appear

            Post-Redirect-Get with Spring WebFlux and Thymeleaf

            Anylogic : not able to use stopDelay()