I just encountered this problem after creating an app with Cordova. I searched everywhere for this error but can't find anything in all google.
[BUILD SUCCESSFUL
Total time: 2.917 secs
Built the following apk(s):
C:/MyApp/platforms/android/build/outputs/apk/android-debug.apk
ANDROID_HOME=C:\SDK
JAVA_HOME=C:\Program Files\java\jdk1.8.0_152
No target specified and no devices found, deploying to emulator
Error: Cannot read property 'semver' of null][1]
What it mean? After this doesn't happen anything. Thanks in advance :)