Bash command not working

Im currently following this page to setup PX4:

However, I seem to run into an error when I run this command:

bash ./PX4-Autopilot/Tools/setup/ubuntu.sh

Does anyone know a fix to this? Thanks

Hi.

It seems that Gazebo installation is causing some issues.
Why not add the --no-sim-tools option when running the setup script?

bash ./PX4-Autopilot/Tools/setup/ubuntu.sh --no-sim-tools

You can install Gazebo separately if needed.