-
Notifications
You must be signed in to change notification settings - Fork 394
Update Documentation for BLT under WSL #509
Comments
Eh... one weird thing—I'm getting the following error message whenever Drupal VM hits the
And it tries to install all the project dependencies (including phantomjs-installer and a zillion other things) instead of just... running The only place on the internet I've seen that message is in here: https://github.com/mariagwyn/mariagwynBLT/blob/master/drush.wrapper — what's this used for? Also, how is it that if I |
Ah, that's just a fork... it's in https://github.com/acquia/blt/blob/8.x/template/drush.wrapper |
So I guess @grasmash how is this thing supposed to work, and how is it possible that running the command (And on another level, why would installing drush, even with this wrapper, require installing The default from |
@geerlingguy When the |
To pull down the latest dev version:
Much easier than having to do all of this, thanks to @grasmash adding a dev branch — thanks! |
@grasmash - I'm going to putz around with it on the windows environment/VM today and see if I can get it working. Note that if we are able to get rid of the dependency on phantomjs, this problem (like many others) would go away :) |
On latest master the build fails with: "PhantomJS v1.9.8 is already installed. Skipping the installation." Also got an error "file_put_contents(/vagrant/vendor/bin/drupal): failed to open stream: No such file or directory" |
Testing with |
Ah, so the reason why If I ssh into the VM, then run
Within the host (Windows 10 under Ubuntu Bash), I see the symlink like:
|
Fun times...
Found here: https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/#yhiOMwz0h3iI2FQt.97 |
#515 to fix the above issue. |
So a few more notes (just to keep myself up to date):
|
All relevant pull requests merged. |
Running BLT under the Windows Subsystem for Linux (Ubuntu Bash) is a little more complicated than is currently stated in the documentation—though there are some parts that I think we can consolidate and make simpler.
I'm working on rebuilding BLT + Drupal VM a few times on my old Lenovo running Windows 10, and I found a few extra tips and tricks to help get everything working correctly.
I'll submit a PR with proposed changes/additions, and I'll also add a few notes to this issue for posterity/background.
The text was updated successfully, but these errors were encountered: