Open Keavon opened 2 years ago
got similar problem when I use pnpm in monorepo . It broken process after change dependencies workspace's package.json.
Have you been able to fix this? I am running into the same problem and have no idea how to fix this.
@TimScheifler if I recall correctly, it was fixed with https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/674
Has anyone figured this out? I see @Keavon mentions a fix in fork-ts-checker-webpack-plugin, but I'm not sure what to do with that since it's not a direct dependency I can install. Thanks
@noynek I think you just need to make sure all your direct dependencies are up to date and it should pull in that fixed version. I don't recall what I did exactly to fix this besides updating versions. If you need to reference my project's package.json, [here it is]()https://github.com/GraphiteEditor/Graphite/blob/master/frontend/package.json.
More info: #7092
Thanks @Keavon.
When I run npm ls fork-ts-checker-webpack-plugin
I see cli-plugin-typescript@5.0.8 referencing what I think is the backported version. I'm wondering if there could be some package caching that might explain why it builds fine in some environments and not the one that's failing. I'll keep digging. I'm on vue 2.7, but I don't see that being directly related to this error.
Version
5.0.4
Reproduction link
github.com
Environment info
Steps to reproduce
And unfortunately you'll need to install Rust and wasm-pack in order to compile this repo, sorry about that.
Then
npm run serve
What is expected?
Compilation after the Vue CLI v5 upgrade should work.
What is actually happening?
Sorry if this isn't the ideal place to post this. I realize it might be entirely the fault of
@vue/cli-plugin-typescript
. An issue has been opened there but isn't making any progress towards resolution. Since it's still blocking me in my Vue project, I'm posting this here also in case it's actually caused by something Vue CLI-specific, or if anyone else has encountered and fixed this.When upgrading my project to Vue CLI v5, my build fails due to
fork-ts-checker-webpack-plugin
which is a transitive dependency of@vue/cli-plugin-typescript
(that lives in a subfolder of this repository).To troubleshoot, I have fully deleted my
package-lock.json
andnode_modules
folder, rerannpm install
, and thennpm run serve
still results in this failure.Hoping for some suggestions to get un-blocked. I really want to upgrade to Vue CLI 5 but this hasn't been possible yet. Thanks.