Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LiveSync fails when a new directory is added into the app folder #1285

Closed
vchimev opened this issue Dec 1, 2015 · 1 comment
Closed

LiveSync fails when a new directory is added into the app folder #1285

vchimev opened this issue Dec 1, 2015 · 1 comment
Milestone

Comments

@vchimev
Copy link

vchimev commented Dec 1, 2015

Tested with 1.5.1 RC.

Steps to reproduce:

  • tns livesync android --watch
  • create a new directory into the app folder

Output:

Project successfully prepared
AfterHookName for command prepare is after-prepare
Start syncing application org.nativescript.TNSApp at Dec 1, 2015 1:24:50 PM.
spawn: /Users/vchimev/Library/Android/sdk/platform-tools/adb "-s" "emulator-5554" "shell" "rm" "-rf" "/data/local/tmp/org.nativescript.TNSApp/fullsync" "/data/local/tmp/org.nativescript.TNSApp/sync" "/data/local/tmp/org.nativescript.TNSApp/removedsync"
Transferring project files...
Error: ENOENT: no such file or directory, stat '/Work/GitHub/nativescript-cli-tests/TNS_App/platforms/android/src/main/assets/app/folder'
    at FiberFuture.Future.wait (/Work/GitHub/nativescript-cli-tests/node_modules/fibers/future.js:535:15)
    at /Work/GitHub/nativescript-cli-tests/node_modules/nativescript/lib/common/errors.js:109:33
    at Function.settle (/Work/GitHub/nativescript-cli-tests/node_modules/fibers/future.js:249:26)
    at FiberFuture.Future.wait (/Work/GitHub/nativescript-cli-tests/node_modules/fibers/future.js:534:10)
    at /Work/GitHub/nativescript-cli-tests/node_modules/nativescript/lib/common/services/commands-service.js:87:106
    at Function.settle (/Work/GitHub/nativescript-cli-tests/node_modules/fibers/future.js:249:26)
    at FiberFuture.Future.wait (/Work/GitHub/nativescript-cli-tests/node_modules/fibers/future.js:534:10)
    at /Work/GitHub/nativescript-cli-tests/node_modules/nativescript/lib/common/dispatchers.js:39:85
    at Function.settle (/Work/GitHub/nativescript-cli-tests/node_modules/fibers/future.js:249:26)
    at FiberFuture.Future.wait (/Work/GitHub/nativescript-cli-tests/node_modules/fibers/future.js:534:10)
    at /Work/GitHub/nativescript-cli-tests/node_modules/nativescript/lib/nativescript-cli.js:20:45
    - - - - -
    at Error (native)
@vchimev
Copy link
Author

vchimev commented Dec 11, 2015

Consequence issue: #1339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants