Skip to content

ForkTsChekerWebpackPlugin complains about unknown property "silent" #6

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

Closed
Gamesh opened this issue May 28, 2021 · 1 comment
Closed

Comments

@Gamesh
Copy link

Gamesh commented May 28, 2021

$ preact watch --template src/template.html
✖ ERROR ValidationError: Invalid configuration object. ForkTsCheckerWebpackPlugin has been initialized using a configuration object that does not match the API schema.
 - configuration has an unknown property 'silent'. These properties are valid:
   object { async?, typescript?, eslint?, formatter?, issue?, logger? }
    at Object.validate [as default] (widget-typescript/node_modules/fork-ts-checker-webpack-plugin/node_modules/schema-utils/dist/validate.js:96:11)
    at new ForkTsCheckerWebpackPlugin (widget-typescript/node_modules/fork-ts-checker-webpack-plugin/lib/ForkTsCheckerWebpackPlugin.js:31:31)
    at createBaseConfig (widget-typescript/node_modules/preact-cli/lib/lib/webpack/webpack-base-config.js:343:7)
    at createClientConfig (widget-typescript/node_modules/preact-cli/lib/lib/webpack/webpack-client-config.js:321:3)
    at devBuild (widget-typescript/node_modules/preact-cli/lib/lib/webpack/run-webpack.js:18:21)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Versions:

@rschristian
Copy link
Member

Fixed in preactjs/preact-cli#1567

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

No branches or pull requests

2 participants