caiobiodere / cordova-template-framework7-vue-webpack

Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement
Apache License 2.0
621 stars 154 forks source link

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

Open imrealashu opened 4 years ago

imrealashu commented 4 years ago

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


"webpack": "^4.40.2",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.1",
"webpack-merge": "^4.2.2"```
rtaparay commented 2 years ago

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

@caiobiodere help please