- Posts: 25
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
composer eror: facebook/webdriver "ext-zip" missing
- limesurvey_asker
- Topic Author
- Offline
- Junior Member
Less
More
2 years 5 months ago - 2 years 5 months ago #220910
by limesurvey_asker
composer eror: facebook/webdriver "ext-zip" missing was created by limesurvey_asker
My enivronment is: Limesurvey Version on LTS 3.27, PHP 7.4, Linux, MySQL 8.0 . Trying to run composer, I get this:
Googling tells me "This package is abandoned and no longer maintained. The author suggests using the php-webdriver/webdriver package instead. " (link ) - so Should I change the name of the package? Another Googling tells me "add ext-zip to your required section of composer.json"
Do you have tipps what I should do to resolve this issue? Not 100% sure which is the right approach here.
Code:
- facebook/webdriver[1.4.0, ..., 1.7.1] require ext-zip * -> it is missing from your system. Install or enable PHP's zip extension. - Root composer.json requires facebook/webdriver ^1.4 -> satisfiable by facebook/webdriver[1.4.0, ..., 1.7.1]
Googling tells me "This package is abandoned and no longer maintained. The author suggests using the php-webdriver/webdriver package instead. " (link ) - so Should I change the name of the package? Another Googling tells me "add ext-zip to your required section of composer.json"
Code:
([url=https://stackoverflow.com/questions/56219962/composer-require-ext-zip-fails]link[/url]){ "require" : { "ext-zip": "*" } }
Last edit: 2 years 5 months ago by limesurvey_asker.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
2 years 5 months ago #220917
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic composer eror: facebook/webdriver "ext-zip" missing
Why you try to run composer ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- limesurvey_asker
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
2 years 5 months ago - 2 years 5 months ago #220966
by limesurvey_asker
Replied by limesurvey_asker on topic composer eror: facebook/webdriver "ext-zip" missing
Well I am running my limsurvey on a virtual docker-like environment. The source code sits inside an image. When I update the source code, composer will be run automatically (to make sure the right packages are installed to run the application). If I did not run composer (deleting composer.json) and something required misses, I will run into the same problem, or not?
Last edit: 2 years 5 months ago by limesurvey_asker.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
2 years 5 months ago - 2 years 5 months ago #220971
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic composer eror: facebook/webdriver "ext-zip" missing
It's requrire-dev : --no-dev can do the trick.
I think best solution is
1. report the issue
2. Fix your docker continuous integration to use --no-dev
3. if don'(t work : delete composer.json for your project
I think best solution is
1. report the issue
2. Fix your docker continuous integration to use --no-dev
3. if don'(t work : delete composer.json for your project
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 2 years 5 months ago by DenisChenu.
The topic has been locked.
- limesurvey_asker
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
2 years 5 months ago #220984
by limesurvey_asker
Replied by limesurvey_asker on topic composer eror: facebook/webdriver "ext-zip" missing
ok so as long as I don't do development, I can just make facebook/webdriver that a non-requirement?
php composer.phar require php-webdriver/webdriver manually works by the way.
php composer.phar require facebook/webdriver works also manually.
php composer.phar require php-webdriver/webdriver manually works by the way.
php composer.phar require facebook/webdriver works also manually.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
2 years 5 months ago #220986
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic composer eror: facebook/webdriver "ext-zip" missing
getcomposer.org/doc/03-cli.md#install-i
php composer.phar --no-dev
If you don't create a dev webserver : ALWAYS add --no-dev …
php composer.phar --no-dev
If you don't create a dev webserver : ALWAYS add --no-dev …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- limesurvey_asker
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
2 years 5 months ago #221041
by limesurvey_asker
Replied by limesurvey_asker on topic composer eror: facebook/webdriver "ext-zip" missing
ok thx! My system runs composer automatically, so I just deleted this require-dev part ...
The topic has been locked.