Skip to content

Error: Cannot find module 'webpack-cli/bin/config-yargs' #2759

Description

@yilmazbingo
  • Operating System: kali-2020

  • Node Version: v10.21.0

  • NPM Version: 6.14.7

  • webpack Version: ^5.0.0

  • webpack-dev-server Version:^3.11.0"

  • This is a bug

  • This is a modification request

Code

Expected Behavior

webpack-dev-server should compile

Actual Behavior

Error: Cannot find module 'webpack-cli/bin/config-yargs'

webpack-dev-server is dependent on the webpack-cli. looks like it has been updated 13 hours ago to version 4.0.0 so its folder structure has changes. here is the current folder structure:
webpack-cli

this is the older folder structure i just created a few days ago:
Screen Shot 2020-10-11 at 4 15 54 AM

Activity

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

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions