cascornelissen / svg-spritemap-webpack-plugin

SVG spritemap plugin for webpack
MIT License
207 stars 49 forks source link

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'tap' of undefined #174

Closed ibrahimra7al closed 3 years ago

ibrahimra7al commented 3 years ago

Description When trying to build the project I'm getting this (node:48790) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'tap' of undefined

Expected behavior To work normally

Actual behavior Error (node:48790) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'tap' of undefined

System information

  System:
    OS: Linux 5.8 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (12) x64 Intel(R) Core(TM) i7-10810U CPU @ 1.10GHz
    Memory: 2.66 GB / 30.97 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 14.16.1 - ~/.nvm/versions/node/v14.16.1/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.12 - ~/.nvm/versions/node/v14.16.1/bin/npm
  npmPackages:
    @tarekraafat/autocomplete.js:  8.1.1 
    animejs: ^3.2.1 => 3.2.1 
    babel-polyfill: ^6.26.0 => 6.26.0 
    bootstrap: ^4.5.0 => 4.6.0 
    configurable-date-input-polyfill: ^2.8.1 => 2.8.2 
    enquire.js: ^2.1.6 => 2.1.6 
    jcf: ^1.2.3 => 1.2.3 
    jquery: ^3.5.1 => 3.6.0 
    lodash: ^4.17.20 => 4.17.21 
    magicsuggest: ^2.1.6 => 2.1.6 
    nodelist-foreach-polyfill: ^1.2.0 => 1.2.0 
    popper.js: ^1.16.1 => 1.16.1 
    svg-spritemap-webpack-plugin: ^4.2.0 => 4.2.0 
    swiper: ^6.3.5 => 6.8.2 

    ui-article: private repo
    ui-automation: private repo

webpack version used "webpack": "^4.41.2"

cascornelissen commented 3 years ago

Release 4.0.0 of this plugin dropped support for Webpack 4. Either update Webpack to v5 or use v3 of this plugin.