{"id":20042,"library":"fork-ts-checker-notifier-webpack-plugin","title":"fork-ts-checker-notifier-webpack-plugin","description":"Webpack plugin that displays system notifications for build status when used with fork-ts-checker-webpack-plugin. v9.0.0 is current, targeting fork-ts-checker-webpack-plugin ^9.0.0 and Node >=16. Releases mirror upstream breaking changes. Similar API to webpack-notifier but specifically for the fork-ts-checker workflow. Silences notifications on successful builds by default, only notifying on first run, failures, and recovery.","status":"active","version":"9.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/johnnyreilly/fork-ts-checker-notifier-webpack-plugin","tags":["javascript","webpack","fork-ts-checker-webpack-plugin","ts-loader","notifier","typescript"],"install":[{"cmd":"npm install fork-ts-checker-notifier-webpack-plugin","lang":"bash","label":"npm"},{"cmd":"yarn add fork-ts-checker-notifier-webpack-plugin","lang":"bash","label":"yarn"},{"cmd":"pnpm add fork-ts-checker-notifier-webpack-plugin","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency; without it the plugin has no type-checking results to notify about","package":"fork-ts-checker-webpack-plugin","optional":false}],"imports":[{"note":"Package does not ship ESM; use CommonJS require.","wrong":"import ForkTsCheckerNotifierWebpackPlugin from 'fork-ts-checker-notifier-webpack-plugin';","symbol":"ForkTsCheckerNotifierWebpackPlugin","correct":"const ForkTsCheckerNotifierWebpackPlugin = require('fork-ts-checker-notifier-webpack-plugin');"},{"note":"This plugin is not from the same package; import separately.","wrong":"import { ForkTsCheckerWebpackPlugin } from 'fork-ts-checker-notifier-webpack-plugin';","symbol":"ForkTsCheckerWebpackPlugin","correct":"const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');"}],"quickstart":{"code":"const ForkTsCheckerNotifierWebpackPlugin = require('fork-ts-checker-notifier-webpack-plugin');\nconst ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');\n\nmodule.exports = {\n  plugins: [\n    new ForkTsCheckerWebpackPlugin(),\n    new ForkTsCheckerNotifierWebpackPlugin({ excludeWarnings: true }),\n  ],\n};","lang":"javascript","description":"Minimal webpack configuration pairing both plugins; order matters to avoid undefined hooks."},"warnings":[{"fix":"Upgrade fork-ts-checker-webpack-plugin to ^9.0.0 and ensure Node >=16.","message":"Dropped support for fork-ts-checker-webpack-plugin versions < 9 and Node < 16","severity":"breaking","affected_versions":">=9.0.0"},{"fix":"Upgrade fork-ts-checker-webpack-plugin to ^8.0.0 and Node >=14.","message":"Dropped support for fork-ts-checker-webpack-plugin versions < 8 and Node < 16","severity":"breaking","affected_versions":">=8.0.0 <9.0.0"},{"fix":"Use fork-ts-checker-webpack-plugin ^7.0.0.","message":"Dropped support for fork-ts-checker-webpack-plugin versions < 7","severity":"breaking","affected_versions":">=6.0.0 <7.0.0"},{"fix":"Upgrade fork-ts-checker-webpack-plugin to ^6.0.0.","message":"Dropped support for fork-ts-checker-webpack-plugin versions < 6","severity":"breaking","affected_versions":">=4.0.0 <5.0.0"},{"fix":"Ensure node-notifier >=8.0.2 to mitigate the vulnerability.","message":"Upgraded node-notifier to v8.0.2 to fix CVE-2020-7789","severity":"breaking","affected_versions":">=5.0.0 <6.0.0"},{"fix":"Always place ForkTsCheckerWebpackPlugin before ForkTsCheckerNotifierWebpackPlugin in the plugins array.","message":"Plugin order in webpack config is important; wrong order can cause hooks to be undefined and build failures","severity":"gotcha","affected_versions":"*"},{"fix":"Use require() instead of import.","message":"Package is CommonJS-only; does not support ESM imports","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Reorder plugins: new ForkTsCheckerWebpackPlugin() first, then new ForkTsCheckerNotifierWebpackPlugin().","cause":"ForkTsCheckerNotifierWebpackPlugin placed before ForkTsCheckerWebpackPlugin in plugins array","error":"TypeError: Cannot read properties of undefined (reading 'done')"},{"fix":"npm install --save-dev fork-ts-checker-webpack-plugin","cause":"Missing peer dependency fork-ts-checker-webpack-plugin","error":"Error: Cannot find module 'fork-ts-checker-webpack-plugin'"},{"fix":"Install fork-ts-checker-webpack-plugin@^9.0.0","cause":"Incompatible or missing fork-ts-checker-webpack-plugin version","error":"Warning: fork-ts-checker-notifier-webpack-plugin requires a peer of fork-ts-checker-webpack-plugin@^9.0.0 but none was installed"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}