Comments (4)
v5 is pretty new; I think it shipped only yesterday.
If you'd like to submit a PR to make this v5 compatible that'd be greatly appreciated!
You may want to use the v5 PR for reference: TypeStrong/fork-ts-checker-webpack-plugin#445
from fork-ts-checker-notifier-webpack-plugin.
Looking at the plugin I think the hooks have changed. Probably we need to hook into issues
now in place of receive
here: https://github.com/johnnyreilly/fork-ts-checker-notifier-webpack-plugin/blob/master/index.ts#L107
Based upon the docs here:
https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/master/README.md#plugin-hooks
See also: TypeStrong/fork-ts-checker-webpack-plugin#232 (comment)
from fork-ts-checker-notifier-webpack-plugin.
node.js: v14.4.0
npm: v6.14.5
webpack: v4.43.0
fork-ts-checker-webpack-plugin: v5.0.1
fork-ts-checker-notifier-webpack-plugin: v2.0.0
Windows 10 professional edition 1902 18363.900
(node:4280) UnhandledPromiseRejectionWarning: TypeError: lints is not iterable
at ForkTsCheckerNotifierWebpackPlugin.compilationDone (G:\WebStormWS\WebProTpl\node_modules\fork-ts-checker-notifier-webpack-plugin\index.js:10:75)
at SyncWaterfallHook.eval [as call] (eval at create (G:\WebStormWS\WebProTpl\node_modules\tapable\lib\HookCodeFactory.js:19:10), :7:16)
at SyncWaterfallHook.lazyCompileHook (G:\WebStormWS\WebProTpl\node_modules\tapable\lib\Hook.js:154:20)
at Object. (G:\WebStormWS\WebProTpl\node_modules\fork-ts-checker-webpack-plugin\lib\hooks\tapDoneToAsyncGetIssues.js:61:31)
at Generator.next ()
at fulfilled (G:\WebStormWS\WebProTpl\node_modules\fork-ts-checker-webpack-plugin\lib\hooks\tapDoneToAsyncGetIssues.js:5:58)
(Use node --trace-warnings ...
to show where the warning was created)
(node:4280) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:4280) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
from fork-ts-checker-notifier-webpack-plugin.
ForkTsCheckerWebpackPlugin_obj = {
async: true,
typescript: {
enabled: true,
memoryLimit: 4096,
configFile: path.resolve( __dirname, './tsconfig.json' ),
build: false,
mode: 'write-tsbuildinfo',
diagnosticsOptions: {
syntactic: true,
semantic: true,
declaration: true,
global: true,
},
extensions: {
vue: {
enabled: true,
compiler: 'vue-template-compiler',
},
},
profile: false,
},
eslint: undefined,
issue: {
include: undefined,
exclude: undefined,
scope: 'all',
},
logger: {
infrastructure: 'silent',
issues: 'console',
},
},
ForkTsCheckerNotifierWebpackPlugin_obj = {
title: 'WebpackNotice2020',
excludeWarnings: true,
alwaysNotify: false,
skipFirstNotification: true,
skipSuccessful: true,
},
from fork-ts-checker-notifier-webpack-plugin.
Related Issues (13)
- Doesn't work with the latest fork-ts-checker HOT 1
- Doesn't seem to work with fork-ts-checker-webpack-plugin 1.0.0 HOT 1
- forkTsCheckerWebpackPlugin.getCompilerHooks is not a function HOT 4
- Does not work w/ latest plugin and latest webpack HOT 2
- index.d.ts not included in NPM HOT 3
- Crashes on webpack 4.x HOT 7
- Prop excludeWarnings: true does not work. HOT 2
- DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
- SnoreToast's notifications work randomly HOT 2
- github workflows for push and release are missing HOT 1
- TypeError: diagnostic.isErrorSeverity is not a function HOT 4
- Upgrade node-notifier or make it a peer dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fork-ts-checker-notifier-webpack-plugin.