EddyVerbruggen / nativescript-speech-recognition

:speech_balloon: Speech to text, using the awesome engines readily available on the device.
Other
90 stars 21 forks source link

Error when trying to run demo #21

Open endymion00 opened 6 years ago

endymion00 commented 6 years ago

I get this error when I execute tns run android on MacOS High Sierra 10.13.5:

$tns run android

Executing before-prepare hook from /Users/al/code/alfonso/nativescript/nativescript-speech-recognition/demo/hooks/before-prepare/nativescript-dev-typescript.js Preparing project... Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Unable to apply changes on device: 09223ac50f22297b. Error is: Processing node_modules failed. Error: cp: cannot create directory '/Users/al/code/nativescript/nativescript-speech-recognition/demo/platforms/android/src/main/assets/app/tns_modules': No such file or directory.

$tns doctor output:

✔ Your ANDROID_HOME environment variable is set and points to correct directory. ✔ Your adb from the Android SDK is correctly installed. ✔ The Android SDK is installed. ✔ A compatible Android SDK for compilation is found. ✔ Javac is installed and is configured properly. ✔ The Java Development Kit (JDK) is installed and is configured properly. ✔ Xcode is installed and is configured properly. ✔ xcodeproj is installed and is configured properly. ✔ CocoaPods are installed. ✔ CocoaPods update is not required. ✔ CocoaPods are configured properly. ✔ Your current CocoaPods version is newer than 1.0.0. ✔ Python installed and configured correctly. ✔ The Python 'six' package is found. ✔ Getting NativeScript components versions information... ✔ Component nativescript has 4.1.2 version and is up to date. ⚠ Update available for component tns-core-modules. Your current version is 3.4.1 and the latest available version is 4.1.0. ⚠ Update available for component tns-android. Your current version is 3.1.1 and the latest available version is 4.1.3. ⚠ Update available for component tns-ios. Your current version is 3.1.0 and the latest available version is 4.1.1.