Open
Description
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: geowarin/friendly-errors-webpack-plugin#33