Skip to content

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

Closed
@julkue

Description

@julkue

Do you want to request a feature or report a bug? Bug

What is the current behavior?

topic

https://travis-ci.org/julmot/form-components/builds/346048668#L4063-L4081

If the current behavior is a bug, please provide the steps to reproduce.

Run the build of this repository which uses these settings. PR: julkue/form-components#9

What is the expected behavior?

It shouldn't fail or provide a meaningful message that helps resolving the issue. The current message looks like an internal error.

Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.

webpack v4
Win10
node v6.11.3

Activity

sokra

sokra commented on Feb 26, 2018

@sokra
Member

Did you upgrade the extract-text-webpack-plugin to latest version?

julkue

julkue commented on Feb 26, 2018

@julkue
Author

@sokra To which version? I'm using v3.0.2 which is -- according to this page -- the latest available stable version. So from my point of view, yes, I'm using the latest version.

fyi: I've just updated the PR to set the version explicitly, see https://github.com/julmot/form-components/pull/9/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R38

Dirtyburger1338

Dirtyburger1338 commented on Feb 26, 2018

@Dirtyburger1338

Just got the same issue directly after installing webpack

webpack 4.0.0
node 8.9.3
text-webpack-plugin 3.0.2

chrste90

chrste90 commented on Feb 26, 2018

@chrste90

I think you have to install v4.0.0-alpha.0 of text-webpack-plugin.

As you can see in the release notes under Code Refactoring: ExtractTextPlugin: update to new plugin system and API's.

julkue

julkue commented on Feb 26, 2018

@julkue
Author

Can't imagine that relaying on alpha releases is intended. (haven't checked if it works)

Dirtyburger1338

Dirtyburger1338 commented on Feb 26, 2018

@Dirtyburger1338

using v4.0.0-alpha.0 worked for me

julkue

julkue commented on Feb 26, 2018

@julkue
Author

@sokra If using v4.0.0-alpha.0 works (can't confirm currently), is this the way to go?

rgbkrk

rgbkrk commented on Feb 27, 2018

@rgbkrk

I'm no longer using extract-text-webpack-plugin anywhere, is there a way to find out which plugin is generating this warning?

sokra

sokra commented on Feb 27, 2018

@sokra
Member

node --trace-depracation

hoqqun

hoqqun commented on Feb 27, 2018

@hoqqun

I had the same problem.but resolved it using version 3.11.0

julkue

julkue commented on Feb 27, 2018

@julkue
Author

@sokra What's the solution in this regard?

montogeek

montogeek commented on Feb 27, 2018

@montogeek
Member

@julmot Try with extract-text-webpack-plugin@next

yinsang

yinsang commented on Feb 28, 2018

@yinsang

extract-text-webpack-plugin
npm i -D extract-text-webpack-plugin@next

AlejandraCP

AlejandraCP commented on Feb 28, 2018

@AlejandraCP

Works with v4.0.0-alpha.0

zhy023

zhy023 commented on Feb 28, 2018

@zhy023

No Works with extract-text-webpack-plugin v4.0.0-beta.0

61 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @aaronshaf@retorquere@ooflorent@joe-bader@tiendq

        Issue actions

          Tapable.plugin is deprecated. Use new API on `.hooks` instead · Issue #6568 · webpack/webpack