-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Unable to run vue-tsc after running ts-patch install -s #4783
Comments
I have the same issue, were you able to find a solution? |
I found another solution for the underlying issue I was using |
I'm using it for typia, and I can't seem to find an alternative. |
For people who are bundling their code, unplugin-typia is a more convenient alternative to ts-patch that doesn't interfere with other tools using tsc. |
@zareith You still need to install typia which requires ts-patch .. |
@sgpinkus That doesn't matter if you don't configure it to patch the ts compiler dependency in your project. If you have configured ts patch in your project in past you will need to remove and do a clean install of dependencies. It works fine after that. |
In the setup docs for typia there is the step |
@sgpinkus It is optional.
Note the part about "if using tsc". If you use another bundler and typia integration for said bundler, you don't need the typia setup step. |
Erm, no I don't think your correct here. |
Vue - Official extension or vue-tsc version
2.1.4
VSCode version
Vue version
TypeScript version
5.5.4
System Info
package.json dependencies
Steps to reproduce
package.json
to some directory.npm i
.npm run vue-tsc
.What is expected?
It works.
What is actually happening?
I get the following error:
Link to minimal reproduction
No response
Any additional comments?
I wanted to write a TS plugin using
ts-patch
which would exclude some declaration files from being emitted when runningvue-tsc
. After I installedts-patch
,vue-tsc
stopped working and I got this error.The text was updated successfully, but these errors were encountered: