Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'tap') #551

Open
suiboyu opened this issue Dec 13, 2021 · 15 comments
Open

TypeError: Cannot read properties of undefined (reading 'tap') #551

suiboyu opened this issue Dec 13, 2021 · 15 comments

Comments

@suiboyu
Copy link

suiboyu commented Dec 13, 2021

When I use this plug-in in a business project, it works fine. But when I use it in the component library, I get an error.

tapable.hooks[name].tap(reason, callback);
                        ^

TypeError: Cannot read properties of undefined (reading 'tap')

Operating System, Node, and NPM dependency versions

Mac OS 11.2.3
Node 16.12.0

"devDependencies": {
  "webpack": "^5.11.0",
    "webpack-bundle-analyzer": "^4.4.2",
    "webpack-cli": "^4.2.0",
    "webpack-dev-server": "^3.11.2",
    "webpack-manifest-plugin": "^4.0.2"
}
@afeiship
Copy link

+1

@tmcconechy
Copy link

+2

@DhirajBhakta
Copy link

+3

@DhirajBhakta
Copy link

Ok. reverted to webpack4 and it works just fine

@niyuanfa
Copy link

niyuanfa commented Apr 1, 2022

+4

@jetBn
Copy link

jetBn commented Apr 15, 2022

+1

1 similar comment
@NasadykVlad
Copy link

+1

@geekftz
Copy link

geekftz commented May 10, 2022

++1

@wpc669418
Copy link

+1

1 similar comment
@korsmic
Copy link

korsmic commented May 18, 2022

+1

@bfontaine
Copy link

This is because Webpack 5.x is not supported (#546).

@w-t-w
Copy link

w-t-w commented Sep 21, 2022

the same problems

@bfontaine
Copy link

@w-t-w Please refrain from posting these sort of "me too" or "+1" comments; you’re notifying 11 persons for nothing.

@tomatobybike
Copy link

+1

@Predhin
Copy link

Predhin commented Nov 19, 2023

any plans for webpack@5 support ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests