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

[compile] downgrade typescript version to 5.2.2 to stop the crash #3

Conversation

OleksandrKucherenko
Copy link

Overview

If typescript is not globally installed, command npx tsc will download the latest version of the package and will try to execute it. Unfortunately, it will fail with type-fest lib error.

image

Solution:

  • fix version of the tsc by defining it in devDependencies

Resolution:

  • projects should avoid global packages installation and dependencies to them, it's a "BAD practice"

@OleksandrKucherenko OleksandrKucherenko changed the title downgrade typescript version to 5.2.2 to stop the crash [compile] downgrade typescript version to 5.2.2 to stop the crash Mar 22, 2024
@FowiFlowi
Copy link

@OleksandrKucherenko, we've updated the packages and no longer detect such issues with the build process.

@FowiFlowi FowiFlowi closed this Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants