From 77ede6bc77bd82bb47022e939a216e7e7a952f8a Mon Sep 17 00:00:00 2001 From: Jared Beck Date: Fri, 11 May 2018 15:33:28 -0400 Subject: [PATCH] Update installation instructions re: unmet peer dependencies 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 5f4b7d134..bd9f54e68 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ gem 'webpacker', git: 'https://github.com/rails/webpacker.git' gem 'webpacker', '>= 4.0.x' ``` -Finally, run following to install Webpacker: +Finally, run the following to install Webpacker: ```bash bundle @@ -102,6 +102,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