Skip to content

Commit

Permalink
webpack or webpack-dev-server not found (#516)
Browse files Browse the repository at this point in the history
* webpack or webpack-dev-server not found

Add to troubleshooting of readme to prevent such issues rails/webpacker#379 (comment), rails/webpacker#506

* Update README.md

* Update README.md

* Include solution for error occurring in heroku

* Update README.md

Since it is known that node buildpacks is not necessary Read: rails/webpacker#522 (comment)

* Update README.md

* Update README.md

Include instruction while upgrading from rails 4 to 5.

* Minor update

* Use ./bin/rails

* Add as comment
  • Loading branch information
sensiblegame committed Jun 21, 2017
1 parent 806d515 commit f70e677
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,20 @@ completed the compilation successfully before loading a view.
}
```
##### webpack or webpack-dev-server not found
* This could happen if `webpacker:install` step is skipped. Please run `bundle exec rails webpacker:install` to fix the issue.
* If you encounter the above error on heroku after upgrading from Rails 4.x to 5.1.x, then the problem might be related to missing `yarn` binstub. Please run following commands to update/add binstubs:
```bash
bundle config --delete bin
./bin/rails app:update:bin # or rails app:update:bin
```


#####

## Wishlist

- HMR - [#188](https://github.com/rails/webpacker/issues/188)
Expand Down

0 comments on commit f70e677

Please sign in to comment.