facebookarchive / fbctf

Platform to host Capture the Flag competitions
Other
6.52k stars 1.32k forks source link

Problem with composer #682

Closed cyb3r5t4lk3r closed 4 years ago

cyb3r5t4lk3r commented 4 years ago

Please include the following information when filing an issue • Current version of FBCTF installed (commit head) • System and Installation details, such as the Linux distribution used, and installation method you chose. Ubuntu Desktop 18.04.03 • Detailed description of the problem. Include steps to reproduce the problem when possible. user@server:/usr/share/juice-shop_8.7.2/fbctf$ curl -sS https://getcomposer.org/installer | php Fatal error: Uncaught Error: An expression is expected here. in /tmp/php-wrap-Qpjzvh:204 Stack trace:

0 {main}

• Screenshots to help describe the problem when appropriate. • Relevant output from any logs examined. • Any steps you have taken to resolve the issue. Complete step-by-step list sudo apt-get update sudo apt-get install git git clone https://github.com/facebook/fbctf cd fbctf ./extra/provision.sh -m prod -s $PWD If problem with package sudo apt-get update sudo apt-get install -y curl software-properties-common apt-transport-https curl https://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add - sudo apt-key finger 'opensource+hhvm@fb.com' sudo add-apt-repository https://dl.hhvm.com/ubuntu sudo apt update sudo apt install hhvm ./extra/provision.sh -m prod -s $PWD

cyb3r5t4lk3r commented 4 years ago

I resolve the problem installation on Ubuntu 16.04