From 4538f306252788a235ee3e5cc12c8541a79ff983 Mon Sep 17 00:00:00 2001 From: john hernandez Date: Wed, 8 Aug 2018 06:01:32 -0400 Subject: [PATCH] Update installation instructions re: unmet peer dependencies (#1496) See discussion in https://github.com/rails/webpacker/issues/1078 --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d607f06..8a73d2a 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ gem 'webpacker', '>= 4.0.x' yarn add @rails/webpacker@4.0.0-pre.2 ``` -Finally, run following to install Webpacker: +Finally, run the following to install Webpacker: ```bash bundle @@ -104,6 +104,11 @@ bundle exec rails webpacker:install bundle exec rake webpacker:install ``` +Optional: To fix ["unmet peer dependency" warnings](https://github.com/rails/webpacker/issues/1078), + +```bash +yarn upgrade +``` ### Usage