johnsoncodehk / vue-tsc

vue-tsc --noEmit && vite build
https://www.npmjs.com/package/vue-tsc
MIT License
241 stars 6 forks source link

Failure and permanent hang with yarn 2 pnp #45

Closed bbugh closed 3 years ago

bbugh commented 3 years ago

When running yarn vue-tsc --noEmit with Yarn 2 pnp, this is the result:

Content-Length: 76

{"seq":0,"type":"event","event":"typingsInstallerPid","body":{"pid":32571}}

It works fine with npm or yarn 1.x.

This can be easily reproduced by cloning https://github.com/bbugh/vue-tsx-tailwind-starter, then adding vue-tsc to the devDependencies and trying to run it.

johnsoncodehk commented 3 years ago

Can you check if the situation is the same?

https://github.com/johnsoncodehk/volar/issues/283#issuecomment-881231493

sto3psl commented 3 years ago

I'm seeing the same issue with npm@7.20.0, vue-tsc@0.2.1 and typescript@4.3.5.

It works with vue-tsc@0.2.0 and typescript@4.2.4 but as soon as I install vue-tsc@0.2.1 the message appears again and it hangs.

sto3psl commented 3 years ago

Follow up: vue-tsc@0.2.0 and typescript@4.3.5 works, too.

I only get the problematic message and hang with vue-tsc@0.2.1.

Shinigami92 commented 3 years ago

Can reproduce with yarn 1.22.10, vue-tsc 0.2.1 and ts 4.3.5

image

Downgrading to 0.2.0 helps

trapcodeio commented 3 years ago

I just encountered this error. had to downgrade to 0.2.0 any fix yet?

johnsoncodehk commented 3 years ago

@sto3psl @Shinigami92 @trapcodeio thanks for reports, this is regression in vscode-vue-language@0.26.4 and fixed in https://github.com/johnsoncodehk/volar/commit/a6e3085835a86c6c7c8b61d1854c9ce68336a8c5.

johnsoncodehk commented 3 years ago

@sto3psl @Shinigami92 @trapcodeio thanks for reports, this is regression in vscode-vue-language@0.26.4 and fixed in johnsoncodehk/volar@a6e3085.

Released in vscode-vue-language@0.26.6.