How to install on windows
Opened this issue · 4 comments
Could any of you can help me to install the demo site on windows with wamp, i follow the steps on the Readme file, but i'm unable to install the demo site :-(
Can you provide more detail? Are you getting errors?
Hi Mike, hope you're doing great today.
Yes, after i install the site, this message is displayed, "The website encountered an unexpected error. Please try again later." i add this "$config['system.logging']['error_level'] = 'verbose'; " into settings.php and reload the page, there's a lot of errors:
The website encountered an unexpected error. Please try again later.
Error: Class 'Drupal\big_pipe_sessionless\StackMiddleware\BigPipeSessionlessPageCache' not found in Drupal\Component\DependencyInjection\Container->createService() (line 281 of core\lib\Drupal\Component\DependencyInjection\Container.php).
Drupal\Component\DependencyInjection\Container->createService(Array, 'http_middleware.page_cache') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('http_middleware.page_cache', 1) (Line: 487)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'http_middleware.reverse_proxy') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('http_middleware.reverse_proxy', 1) (Line: 487)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'http_middleware.negotiation') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('http_middleware.negotiation', 1) (Line: 487)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'http_kernel') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('http_kernel') (Line: 1412)
Drupal\Core\DrupalKernel->getHttpKernel() (Line: 693)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Hmm. I'm not sure why that error would be there and I haven't been able to replicate it, but I suggest you just disable/uninstall the Sessionless BigPipe module. Once uninstalled, you could try reinstalling it again if you like to see if it clears up that issue, but you probably don't need it anyhow.
You can disable and uninstall it using Drush (which is packaged in with the demo). Just go into the web
directory using your command shell and do the following commands.
../vendor/drush/drush/drush pm-disable big_pipe_sessionless
../vendor/drush/drush/drush pm-uninstall big_pipe_sessionless
../vendor/drush/drush/drush updb -y
../vendor/drush/drush/drush cache-rebuild
See if that gets the site going for you.
Hi. I tried to set up this demo on a windows pc and stumble on several errors running composer install. I was using the AquiaDevDesktop CLI (windows run-of-the-mill cmd) and tried using Windows Power Shell. Alas, it ran fine on a mac, might have something to do with the patches address using "/" instead of ""..