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

Tapable.plugin is deprecated. Use new API on .hooks instead #184

Open
imrealashu opened this issue Jun 5, 2020 · 1 comment
Open

Tapable.plugin is deprecated. Use new API on .hooks instead #184

imrealashu opened this issue Jun 5, 2020 · 1 comment

Comments

@imrealashu
Copy link

imrealashu commented Jun 5, 2020

Webpack build completed to www folder successfully!
Error happened on main chain:
Error: Error happened when webpack build: Error: Command failed: "/Users/imrealashu/Playground/framework7-vue/node_modules/.bin/webpack"
(node:8813) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead

at /Users/imrealashu/Playground/framework7-vue/hooks/hookers.js:184:34
at ChildProcess.exithandler (child_process.js:302:5)
at ChildProcess.emit (events.js:223:5)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:430:11)
at Socket.emit (events.js:223:5)
at Pipe.<anonymous> (net.js:664:12)

Error happened when webpack build: Error: Command failed: "/Users/imrealashu/Playground/framework7-vue/node_modules/.bin/webpack"
(node:8813) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead

npm list tapable

│ └── tapable@1.1.3
├─┬ webpack@4.43.0
│ ├─┬ enhanced-resolve@4.1.1
│ │ └── tapable@1.1.3  deduped
│ └── tapable@1.1.3  deduped
└─┬ webpack-cli@3.3.11
  └─┬ enhanced-resolve@4.1.0
    └── tapable@1.1.3  deduped```

Package JSON Dependencies

```"html-webpack-plugin": "^3.2.0",
"webpack": "^4.40.2",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.1",
"webpack-merge": "^4.2.2"```
@rtaparay
Copy link

rtaparay commented Jun 11, 2022

any solution?, I have the same error
I want to use it for a new project
36
37

@caiobiodere help please

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