webpack-encore icon indicating copy to clipboard operation
webpack-encore copied to clipboard

friendly-errors-webpack-plugin suggests `npm install`

Open weaverryan opened this issue 8 years ago • 2 comments

The friendly-errors-webpack-plugin has a built-in transformer/formatter for when a module is missing. To see the behavior, try (in any JavaScript file):

require('foo'); // foo is not a module that is installed

The error is:

This dependency was not found:

  • foo in ./app/Resources/assets/js/app.js To install it, you can run: npm install --save foo

The problem is the npm install part... which should be yarn add to avoid confusion with our users. There is an issue about this: https://github.com/geowarin/friendly-errors-webpack-plugin/issues/33

weaverryan avatar Jun 25 '17 23:06 weaverryan

Reopening this one, because the issue was not fixed

stof avatar Apr 12 '18 14:04 stof

Project made with TypeScript, react.Js, React-native. Recycling day design

https://github.com/Rodrigo001-de/Projeto-Ecoleta-advanced

Rodrigo001-dev avatar Jul 03 '20 01:07 Rodrigo001-dev