#80183Backend requireJS paths are calculated wrongly for CLI.
Description
If after clearing all the cache the first hit to a typo3 installation is a cli command the backend requireJS paths are calculated and saved wrongly causing the backend to fail.
In computeRequireJsConfig the $fullJsPath is calculated to be ‘/typo3/sysext/core/Resources/Public/JavaScript/’ instead of ‘sysext/core/Resources/Public/JavaScript/’.
How to replicate:
Removed ‘var/cache’ run ‘typo3/cli_dispatch.phpsh’ visit backend.