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

ForkTsCheckerWebpackPlugin configuration has an unknown property 'tsconfig'. #97

Closed
alvarosabu opened this issue Sep 4, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@alvarosabu
Copy link

alvarosabu commented Sep 4, 2020

Current Behavior

An unhandled exception occurred: Invalid configuration object. ForkTsCheckerWebpackPlugin has been initialized using a configuration object that does not match the API schema.
 - configuration has an unknown property 'tsconfig'. These properties are valid:
   object { async?, typescript?, eslint?, formatter?, issue?, logger? }

Expected Behavior

Vue app is served normally

Steps to Reproduce

Update deps in vue app to. (To use latest vue-devtools)

"vue": "^3.0.0-rc.10"
"@vue/cli-plugin-typescript": "~4.5.4",
"@vue/cli-service": "~4.5.4",
"@vue/compiler-sfc": "3.0.0-rc.10",
@alvarosabu alvarosabu added the bug Something isn't working label Sep 4, 2020
@BuckyMaler
Copy link
Collaborator

We don't support Vue 3 yet, but we have an open issue for that. Can you reproduce this error using Vue 2?

@alvarosabu
Copy link
Author

alvarosabu commented Sep 9, 2020

Hi!, so we manage to make Vue 3 work inside of the monorepo, but latest "@vue/cli-plugin-typescript": "~4.5.4" have a breaking change vuejs/vue-cli@1aaa592#diff-5bd90b2d73b2975144503cb89f9bc5ba%60 for the fork-ts-checker-webpack-plugin-v5

evanfuture added a commit to evanfuture/nx-plus that referenced this issue Sep 9, 2020
This might not fix all related issues, but it does address one that we found.  Namely that the latest @vue-cli has updated to use fork-typescript-checker v5 and that new version requires different parameters.  I did a basic change using the approach seen here: vuejs/vue-cli@1aaa592

Solves ZachJW34#97
@BuckyMaler
Copy link
Collaborator

If you cannot reproduce this using Vue 2, then I'm going to close this issue. I described a workaround for this here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants