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

Cannot read property 'tap' of undefined #82

Open
Yangfan2016 opened this issue Aug 31, 2021 · 1 comment
Open

Cannot read property 'tap' of undefined #82

Yangfan2016 opened this issue Aug 31, 2021 · 1 comment

Comments

@Yangfan2016
Copy link

TypeError: Cannot read property 'tap' of undefined
    at CircularDependencyPlugin.apply (/xxx/node_modules/circular-dependency-plugin/index.js:22:32)
    at /xxx/node_modules/webpack/node_modules/enhanced-resolve/lib/ResolverFactory.js:327:10
    at Array.forEach (<anonymous>)
    at Object.exports.createResolver (/xxx/node_modules/webpack/node_modules/enhanced-resolve/lib/ResolverFactory.js:326:10)
    at ResolverFactory._create (/xxx/node_modules/webpack/lib/ResolverFactory.js:57:28)
    at ResolverFactory.get (/xxx/node_modules/webpack/lib/ResolverFactory.js:49:28)
    at NormalModuleFactory.getResolver (/xxx/node_modules/webpack/lib/NormalModuleFactory.js:521:31)
    at /xxx/node_modules/webpack/lib/NormalModuleFactory.js:165:32
    at /xxx/node_modules/webpack/lib/NormalModuleFactory.js:129:4
    at handleExternal (/xxx/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:28:34)

{
"circular-dependency-plugin": "^5.2.2",
"webpack": "^4.44.1",
}
@makarov-roman
Copy link

makarov-roman commented Nov 16, 2021

I've got the same error when I put this plugin to config.resolve.plugins instead of config.plugins

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

2 participants