Skip to content

Error when trying to run demo #21

@endymion00

Description

@endymion00

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions