Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error message if tsc not found #124

Open
tamusjroyce opened this issue May 28, 2021 · 1 comment
Open

No error message if tsc not found #124

tamusjroyce opened this issue May 28, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tamusjroyce
Copy link

tamusjroyce commented May 28, 2021

This asks you for the location of typescript when running ts-migrate-full. It says there is an error because there is no tsconfig.json. Then when you run npx ts-migrate init [folder] it says it successfully created tsconfig.json (although it has not). Run ts-migrate-full again and you get the same message.

It's an easy fix. But it would be really nice if it mentioned the issue and didn't lead you to believe it was working when it wasn't. I was expecting tsc to be installed globally as a dependency. And this path to, by default, point to my global modules (as npm config can output this path).

Even if this issue doesn't get resolved, this being an open issue would have saved me some time

@Rudeg Rudeg added enhancement New feature or request good first issue Good for newcomers labels Sep 2, 2022
@techguydave
Copy link

I'm running into this in 2023 still. Very ambiguous and there's no mention of requiring tsc installed globally in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants