Pronovix / swagger_ui_formatter

Swagger UI Field Formatter for Drupal
GNU General Public License v2.0
3 stars 12 forks source link

swagger_ui_formatter installation problem #77

Closed inbalj closed 2 years ago

inbalj commented 2 years ago

I tried to install (manually) Swagger UI Field Formatter v. 8.x-3.3 (including the JS library Swagger UI v3.52.5) on D9 and couldn't finish the installation ( I got the white screen of death....)

if I look at the log this is what I got:

I actually tried it in 8.x-3.2 and thought that if I upgrade it will fix the problem but to no avail.

mxr576 commented 2 years ago

Is my assumption correct that you downloaded the tar.gz archive of this module instead of using Composer to install it? That could explain how this could happen and why we do not experience this issue by using Composer.

It seems we do not support tar.gz installs and do not plan to do that, sorry.

https://www.hojtsy.hu/blog/2021-oct-26/seven-days-go-until-drupal-8-eol-start-using-composer

inbalj commented 2 years ago

Unfortunately, I can't use composer to install modules on my environment due to security issues. The only way I can is via archives such as tar.gz. Is there a way to install it without using composer? maybe via drush?

mxr576 commented 2 years ago

TBH, I do not know, in 2o22, I cannot imagine how to develop Drupal without Composer.

Although, if you can download tar.gz-s on some system/network, I guess you can also run Composer on the same place and deploy/copy Drupal codebases (artifacts) to that isolated environment that has limited access due to security reasons.

Sorry, I am closing this issue if you do not mind because working with Drupal without Composer is really not the scope of this module. You can also ask around on Drupal Slack. For now, this is all I could say.

inbalj commented 2 years ago

Thank you for your reply.