I got this exact same error on the server that I had originally installed RC2 on, and updated to 4.0.0
However, using the same command to create a new site on a fresh server with a fresh install of EE4 worked as it should. the output of your requested command is. . .
+-------------------+----------------------------------------------------------+
| OS | Linux 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48: |
| | 01 UTC 2018 x86_64 |
| Shell | /bin/bash |
| PHP binary | /usr/bin/php7.2 |
| PHP version | 7.2.12-1+ubuntu18.04.1+deb.sury.org+1 |
| php.ini used | /etc/php/7.2/cli/php.ini |
| EE root dir | phar://ee.phar |
| EE vendor dir | phar://ee.phar/vendor |
| EE phar path | /root |
| EE packages dir | |
| EE global config | /opt/easyengine/config/config.yml |
| EE project config | |
| EE version | 4.0.0 |
+-------------------+----------------------------------------------------------+