Unable to make directory: Documents. Result is 2

7 posts, 0 answers
  1. Tim
    Tim avatar
    4 posts
    Member since:
    May 2013

    Posted 31 Mar 2015 Link to this post

    Hi, When I use the command "appbuilder livesync" after successfully executed "appbuilder build ios --companion", I am getting following error.
    Unable to find adb in PATH. Default one from appbuilder resources will be used.
    Unable to make directory: Documents. Result is 2
    Error: Future resolved more than once
        at Object.Future.return (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:313:10)
        at Socket.<anonymous> (/usr/local/lib/node_modules/appbuilder/lib/common/mobile/ios/ios-core.js:709:30)
        at Socket.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:764:14)
        at Socket.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:426:10)
        at emitReadable (_stream_readable.js:422:5)
        at readableAddChunk (_stream_readable.js:165:9)
        at Socket.Readable.push (_stream_readable.js:127:10)
        at Pipe.onread (net.js:528:21)

    Any suggestions?
    Thanks.
  2. Fatme
    Admin
    Fatme avatar
    7 posts

    Posted 02 Apr 2015 Link to this post

    Hi Tim,

    Thank you for reporting this issue.

    It seems that you're trying to livesync your application that is deployed in companion app. 
    I suggest you to restart your device and then try to execute $appbuilder livesync --companion.

    Hope that helps.

    Regards,
    Fatme
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Tim
    Tim avatar
    4 posts
    Member since:
    May 2013

    Posted 02 Apr 2015 in reply to Fatme Link to this post

    Hi, First thanks for your answer. However unfortunately it did not help even though I restarted the device and executed "appbuilder livesync --companion". It just appears same error message. Thanks.
  4. Fatme
    Admin
    Fatme avatar
    7 posts

    Posted 07 Apr 2015 Link to this post

    Hi Tim,

    I'm sorry to hear that the error appears after restarting the device.
    From the callstack below I suggest that you're working on OSX system. Can I ask you to execute $ appbuilder livesync --companion --log trace and sends us the output. This will help us to investigate the issue.

    Thank you in advance for your help.

    Regards,
    Fatme
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  5. Tim
    Tim avatar
    4 posts
    Member since:
    May 2013

    Posted 07 Apr 2015 in reply to Fatme Link to this post

    Hi, Thanks for reply. Please check attached log file. Thanks.
  6. Fatme
    Admin
    Fatme avatar
    7 posts

    Posted 15 Apr 2015 Link to this post

    Hi Tim,

    Thank you for sending us the log file.

    We've investigated the issue and the fix will be included in our next release. 
    We're planning to release in 2 weeks. Will this time frame work for you? 

    I do want to apologize for the caused inconvenience and the delayed response.

    Regards,
    Fatme
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  7. Tim
    Tim avatar
    4 posts
    Member since:
    May 2013

    Posted 17 Apr 2015 in reply to Fatme Link to this post

    Hi, OK, I will wait for your next release. Thanks.
Back to Top