Mbed os Blinky does not upload to the board nrf52840

I have installed Mbed OS today on my Linux machine. The installation was done correctly.
I then tried to compile the Blinky example to run it on my nRF52840 board. The problem is that the binary’s are already generated but the IDE get’s stuck in Erasing… Background task step and never uploads.

How can I solve this issue?

What’s your target saying in Mbed Studio.