Giter Site home page Giter Site logo

Comments (4)

johnnyreilly avatar johnnyreilly commented on June 18, 2024

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.

johnnyreilly avatar johnnyreilly commented on June 18, 2024

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.

LP1994 avatar LP1994 commented on June 18, 2024

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

image

(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.

LP1994 avatar LP1994 commented on June 18, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.