aspnetcore-angular-universal icon indicating copy to clipboard operation
aspnetcore-angular-universal copied to clipboard

aspnet-webpack gives DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead

Open ngoov opened this issue 6 years ago • 1 comments

The NPM package aspnet-webpack (2.0.3) gives the following warning when starting the application with dotnet run:

fail: Microsoft.AspNetCore.NodeServices[0]
(node:21384) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
          at Shared (F:\dev\aspnetcore-angular2-universal\node_modules\aspnet-webpack\node_modules\webpack-dev-middleware\lib\Shared.js:233:19)
      at module.exports (F:\dev\aspnetcore-angular2-universal\node_modules\aspnet-webpack\node_modules\webpack-dev-middleware\middleware.js:22:15)
      at attachWebpackDevMiddleware (F:\dev\aspnetcore-angular2-universal\node_modules\aspnet-webpack\WebpackDevMiddleware.js:72:46)
      at F:\dev\aspnetcore-angular2-universal\node_modules\aspnet-webpack\WebpackDevMiddleware.js:266:25
      at Array.forEach (<anonymous>)
      at Server.<anonymous> (F:\dev\aspnetcore-angular2-universal\node_modules\aspnet-webpack\WebpackDevMiddleware.js:229:36)
      at Object.onceWrapper (events.js:313:30)
      at emitNone (events.js:106:13)
      at Server.emit (events.js:208:7)
      at emitListeningNT (net.js:1378:10)

Can this package be removed or exchanged for a newer package?

ngoov avatar May 29 '18 08:05 ngoov

This is how the WebpackDevMiddleware calls WebPack. This is only a warning that is being worked on and won't show up in production.

GRIMMR3AP3R avatar May 31 '18 13:05 GRIMMR3AP3R