GithubHelp home page GithubHelp logo

Comments (13)

davecarrijo avatar davecarrijo commented on September 22, 2024 19

I found out. just type npx tsconfig.json.cmd . Just add a cmd at the end.

from tsconfig.json.

DannyZolp avatar DannyZolp commented on September 22, 2024

#18
the problem resides with windows trying to open the .json file instead of running it in the terminal
(probably) can't be fixed unless ben changed the project name to something else

from tsconfig.json.

max-programming avatar max-programming commented on September 22, 2024

#18
the problem resides with windows trying to open the .json file instead of running it in the terminal
(probably) can't be fixed unless ben changed the project name to something else

Oh I see. So Powershell is trying to open the file instead of running the script :|

from tsconfig.json.

davecarrijo avatar davecarrijo commented on September 22, 2024

So, did you find a way to solve? @max-programming

from tsconfig.json.

DontEatRice avatar DontEatRice commented on September 22, 2024

if you have installed git bash for example just type ./node_modules/.bin/tsconfig.json and it will work @Waiolo

from tsconfig.json.

davecarrijo avatar davecarrijo commented on September 22, 2024

it just give another error @DontEatRice
https://i.imgur.com/ABApnY2.png

from tsconfig.json.

Ross-Ghazi avatar Ross-Ghazi commented on September 22, 2024

npx tsconfig.json.cmd

Worked for me.

from tsconfig.json.

OmgImAlexis avatar OmgImAlexis commented on September 22, 2024

Duplicate of #47

from tsconfig.json.

tanishqdaiya avatar tanishqdaiya commented on September 22, 2024

None of that worked with me. That's an issue and the ONLY fix I found to be working was to clone the project and build it yourself with a custom name

from tsconfig.json.

OmgImAlexis avatar OmgImAlexis commented on September 22, 2024

@tanishqdaiya did you check the link I provided? If it's not working please show the error, etc. that's happening when you try it.

There should be no reason this doesn't work. #47 (comment)

from tsconfig.json.

tanishqdaiya avatar tanishqdaiya commented on September 22, 2024

@OmgImAlexis Thanks for the solution. Using Windows has always been harder for me since I switched from Linux (don't ask me why). Can we set an alias in powershell for that command (C:\"Program Files"\nodejs\tsconfig.json.cmd)?

from tsconfig.json.

OmgImAlexis avatar OmgImAlexis commented on September 22, 2024

Yep, add this to your profile. You can find your profile by using this command in powershell $profile.

function call_tsconfig($args) { C:\"Program Files"\nodejs\tsconfig.json.cmd $args}
Set-Alias tsconfig call_tsconfig

Then call it with tsconfig in your powershell.

from tsconfig.json.

DamianArado avatar DamianArado commented on September 22, 2024

I found out. just type npx tsconfig.json.cmd . Just add a cmd at the end.

Thanks, this works! I'm using command prompt on Windows.

from tsconfig.json.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.