Webpacker: webpack binstubs not found Deploy capistrano Rails 5.1.4

Created on 12 May 2018  ยท  2Comments  ยท  Source: rails/webpacker

yarn install v1.6.0
[1/4] Resolving packages...
โ 

success Already up-to-date.
Done in 1.64s.
01 webpack binstubs not found.
01 Have you run rails webpacker:install ?
01 Make sure the bin directory or binstubs are not included in .gitignore
01 Exiting!
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as deployer@xxxxxxxx: rake exit status: 1
yarn install v1.6.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 1.64s.
webpack binstubs not found.
Have you run rails webpacker:install ?
Make sure the bin directory or binstubs are not included in .gitignore
Exiting!
rake stderr: Nothing written

Most helpful comment

maybe, in config/deploy.rb bin folder included in set :linked_dirs.
exclude bin folder in linked_dirs list

All 2 comments

so, have you make sure that the webpack binstubs are present in the production environment?

maybe, in config/deploy.rb bin folder included in set :linked_dirs.
exclude bin folder in linked_dirs list

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pioz picture pioz  ยท  3Comments

eriknygren picture eriknygren  ยท  3Comments

naps62 picture naps62  ยท  3Comments

amandapouget picture amandapouget  ยท  3Comments

ankitrg picture ankitrg  ยท  3Comments