Here is what I found.
IDE - v1.8.5
Raspberry Pi 2 Model B
Raspbian GNU/Linux 9 (stretch)
RoMeo BLE v1.0 board
When I first load a sketch, it will load fine. If I disconnect the USB cable and reconnect and try to upload the sketch again it will fail. If I disconnect the USB cable again and plug it back in, it works.
I discovered that when I first plug the USB cable in, with 'ls /dev/tty*' I see /dev/ttyACM0 but after unplugging and plugging the cable in, I see /dev/ttyACM1 - but what I surmise is that the IDE still wants to use /dev/ttyACM0.
Now when I unplug/plug the cable back in, /dev/ttyACM1 disappears and /dev/ttyACM0 reappears and the sketch will load.
Just thought I'd add this incase it helps someone else.