drupalwxt / wxt

Drupal 10 variant of the Web Experience Toolkit (WxT).
https://drupalwxt.github.io
GNU General Public License v2.0
27 stars 27 forks source link

attempt to install drupalwxt results in: proc_open(): CreateProcess failed, error code - 267 #197

Closed lawrenceong001 closed 4 years ago

lawrenceong001 commented 4 years ago

hello,

I'm new to Drupal and Drupalwxt -- attempting to install this so our group can try this out. presently running on Windows 10, installed php-7.4.2-Win32-vc15-x64.zip and composer straight from the website (currently at 1.9.3).

when I attempt to run composer create-project drupalwxt/wxt-project:3.0.2 MYPROJECT --no-interaction to start a new project I now get:

[ErrorException] proc_open(): CreateProcess failed, error code - 267

would you have any suggestions to resolve this?

thanks

lawrenceong001 commented 4 years ago

here is the log of the output:

composer create-project drupalwxt/wxt-project:3.0.2 MYPROJECT --no-interaction Installing drupalwxt/wxt-project (3.0.2)

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []

rgalipeau commented 4 years ago

A) Don't bother running it on Windows. Go to a Linux OS, or use the docker options. B) Also, try running "export COMPOSER_MEMORY_LIMIT=-1" before you run composer Good luck

sylus commented 4 years ago

Hi there @lawrenceong001 thanks for the issue.

If possible would you mind moving it over to https://drupal.org/project/wxt? as is our preferred.

Maybe some community member over there might be able to look at this but in general all of our developers to build on Linux. Though if you wanted to use Windows you can use WSL which I know works.

In addition to the above recommendations by @rgalipeau you can also just grab the already build tar so you don't have to run compsoer over at:

https://github.com/drupalwxt/wxt/releases

Thanks for the issue though and hopefully this helps :D

lawrenceong001 commented 4 years ago

thanks @sylus and @rgalipeau for your replies. it appears that what you are both saying is that drupalwxt does not run on Windows? I can try WSL but my experiences were that it wasn't that seamless (i.e had some issues running docker, which I read somewhere that WSL2 should solve).

if it's indeed the case that there's no plan to support Windows, perhaps this can be noted on the requirements?

tks Lawrence

sylus commented 4 years ago

Hey @lawrenceong001 sure thing I can add that ^_^

But so I know the tarball already generated won't work with you? I assume is because you still want to run additional composer commands later?

I won't say this is something we won't fix as I bet is something super trivial we are missing. What I will do is add it to the backlog for our internal team to take a look. But in the meantime I will add it to the README.md as you said.

Would you mind filing an issue for this in drupal.org/project/wxt? Just in case someone else might already know the solution :)

Thanks for your understanding! and if I do find the culprit I will @ you directly :D

lawrenceong001 commented 4 years ago

hi @sylus,

yes I can -- I initially didn't understand what you meant as I thought that was simply a site for the project installation.

I see a related issue here which I don't think is being looked at anymore: https://www.drupal.org/project/wxt/issues/3035117

it appears that the particular user may have had success in the past since he was simply performing a patch.

tks