Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

error TS6504: File '' is a JavaScript file. Did you mean to enable the 'allowJs' option? The file is in the program because: Root file specified for compilation

Jagan answered on March 23, 2023 Popularity 4/10 Helpfulness 9/10

Contents


More Related Answers

  • File '/home/jad/react/netflix-clone/node_modules/dotenv/types' not found. The file is in the program because: Root file specified for compilation
  • the file is in the program because: root file specified for compilation

  • error TS6504: File '' is a JavaScript file. Did you mean to enable the 'allowJs' option? The file is in the program because: Root file specified for compilation

    1

    You should enable "allowJs": true in your tsconfig.json file

    Popularity 4/10 Helpfulness 9/10 Language javascript
    Link to this answer
    Share Copy Link
    Contributed on Mar 23 2023
    Jagan
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.