lcreid / rails-5-jade

Rails 5 with Jekyll and Node on Ubuntu 18.04
MIT License
28 stars 3 forks source link

Webpacker doesn't work when Virtualbox host is Windows (Rails 6) #37

Open lcreid opened 5 years ago

lcreid commented 5 years ago

When attempting to use Webpacker (typically with Rails 6), if the Virtualbox host is Windows, Webpacker (actually Webpack) will fail with: EPROTO: protocol error, symlink.... This happens for all new projects created by Rails 6, and probably happens for other projects that use Webpacker.

lcreid commented 5 years ago

https://github.com/svpernova09/docs/blob/3e7172199f845bf8603e6a000de08964291504f6/homestead.md#provider-specific-settings gives some clues and instructions about what to do.

seoanezonjic commented 4 years ago

Hi @lcreid I use your great box on WIndows 10 and I've hit the error that you described. Adding the code described by the github that you cites to the vagrant file AND executing the windows terminal as administrator (as suggested by Daniel Camargo in this stack overflow post: https://stackoverflow.com/questions/33186123/npm-install-errors-on-vagrant-homestead-windows-eproto-protocol-error-symlink) fix the problem when yarn install the modules. Thank you and I hope you continue working in this great box project that eases our rails development.