Registry / devops / fork-ts-checker-notifier-webpack-plugin

fork-ts-checker-notifier-webpack-plugin

JSON →
library9.0.0jsnpmunverified

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.

npm install fork-ts-checker-notifier-webpack-plugin
INSTALL
IMPORT
SIG · FORK-TS-CHECKER-NO
F
fork-ts-checker-notifier-webpack-plugin
devopsjavascriptv9.0.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ForkTsCheckerNotifierWebpackPlugin
const ForkTsCheckerNotifierWebpackPlugin = require('fork-ts-checker-notifier-webpack-plugin');
import ForkTsCheckerNotifierWebpackPlugin from 'fork-ts-checker-notifier-webpack-plugin';
Package does not ship ESM; use CommonJS require.
ForkTsCheckerWebpackPlugin
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
import { ForkTsCheckerWebpackPlugin } from 'fork-ts-checker-notifier-webpack-plugin';
This plugin is not from the same package; import separately.

Minimal webpack configuration pairing both plugins; order matters to avoid undefined hooks.

const ForkTsCheckerNotifierWebpackPlugin = require('fork-ts-checker-notifier-webpack-plugin'); const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); module.exports = { plugins: [ new ForkTsCheckerWebpackPlugin(), new ForkTsCheckerNotifierWebpackPlugin({ excludeWarnings: true }), ], };
Debug
Known issues
breakingDropped support for fork-ts-checker-webpack-plugin versions < 9 and Node < 16
fix
Upgrade fork-ts-checker-webpack-plugin to ^9.0.0 and ensure Node >=16.
affects: >=9.0.0
breakingDropped support for fork-ts-checker-webpack-plugin versions < 8 and Node < 16
fix
Upgrade fork-ts-checker-webpack-plugin to ^8.0.0 and Node >=14.
affects: >=8.0.0 <9.0.0
breakingDropped support for fork-ts-checker-webpack-plugin versions < 7
fix
Use fork-ts-checker-webpack-plugin ^7.0.0.
affects: >=6.0.0 <7.0.0
breakingDropped support for fork-ts-checker-webpack-plugin versions < 6
fix
Upgrade fork-ts-checker-webpack-plugin to ^6.0.0.
affects: >=4.0.0 <5.0.0
breakingUpgraded node-notifier to v8.0.2 to fix CVE-2020-7789
fix
Ensure node-notifier >=8.0.2 to mitigate the vulnerability.
affects: >=5.0.0 <6.0.0
gotchaPlugin order in webpack config is important; wrong order can cause hooks to be undefined and build failures
fix
Always place ForkTsCheckerWebpackPlugin before ForkTsCheckerNotifierWebpackPlugin in the plugins array.
affects: *
gotchaPackage is CommonJS-only; does not support ESM imports
fix
Use require() instead of import.
affects: *
Errors
Common errors & fixes
TypeError: Cannot read properties of undefined (reading 'done')
ForkTsCheckerNotifierWebpackPlugin placed before ForkTsCheckerWebpackPlugin in plugins array
fix
Reorder plugins: new ForkTsCheckerWebpackPlugin() first, then new ForkTsCheckerNotifierWebpackPlugin().
Error: Cannot find module 'fork-ts-checker-webpack-plugin'
Missing peer dependency fork-ts-checker-webpack-plugin
fix
npm install --save-dev fork-ts-checker-webpack-plugin
Warning: fork-ts-checker-notifier-webpack-plugin requires a peer of fork-ts-checker-webpack-plugin@^9.0.0 but none was installed
Incompatible or missing fork-ts-checker-webpack-plugin version
fix
Install fork-ts-checker-webpack-plugin@^9.0.0
Upgrade
Version history
9.0.0latest on npm
Audit
Dependencies
fork-ts-checker-webpack-pluginrequiredpeer dependency; without it the plugin has no type-checking results to notify about
Agent activity
4 hits · last 30 days
node
4
Resources