Skip to content

Error is: Unexpected token ). Executing after-watch hook  #307

@moorthi07

Description

@moorthi07

After cloning,
tns run android
throws this error:

Unable to apply changes on device: emulator-5554. Error is: Unexpected token ).
Executing after-watch hook from C:\demo_tutorials\sample-Groceries\hooks\after-watch\nativescript-dev-typescript.js

tns doctor
NOTE: You can develop for iOS only on Mac OS X systems.
To be able to work with iOS devices and projects, you need Mac OS X Mavericks or later.

Updates available
┌──────────────┬─────────────────┬────────────────┬──────────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 3.4.0 │ 4.0.1 │ Update available │
│ tns-android │ 4.0.0 │ 4.0.1 │ Update available │
└──────────────┴─────────────────┴────────────────┴──────────────────┘

No issues were detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions