You need to ensure the device is set to development mode. You can find this under settings->security.
I'm not sure if it's fixed for latest versions or not, but note that sometimes after going into sleep mode or being rebooted you might need to turn development mode on again.
Edit (thanks to Naskov): Also install the BlackBerry10 driver that the device is offering to install.