Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • 29
    This is a useful answer particular when your project has these versions webpack": "^5.2.0 webpack-cli": "^4.1.0 webpack-dev-server": "^3.11.0 Commented Oct 23, 2020 at 11:46
  • 1
    I had the same issue and I coudnt find a way to solve it... but, this is the perfect answer... and as @Mark said... Works perfect for the versions he mentioned above... Thank you. Commented Oct 27, 2020 at 18:49
  • This answer saved me! THANKS. Commented Nov 26, 2020 at 6:21
  • I got above error message with rails 6 and yarn. My package.json doesn't have a script command inside. Do you @Gakis41 may know how to handle this? Commented Jan 27, 2021 at 8:16
  • @Phipsen can you share your package.json? Do you have webpack & webpack-cli installed in devDependencies? Commented Jan 28, 2021 at 11:37