Yes, the missing dependencies would show up at runtime. Which is a valid and important concern, however: It would be possible (though probably inadvisable) to implement an automatic download of missing dependencies.
It is definitely a bad idea when working on a server, but for a cli tool or some editor that might install it anyways it could be arguably worth a try.
Even worse if the application was deployed behind firewall and can't access internet freely.