This is a migrated thread and some comments may be shown as answers.

Unable to make directory: Documents. Result is 2

6 Answers 104 Views
Command-Line Interface
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tim
Top achievements
Rank 1
Tim asked on 31 Mar 2015, 09:56 PM
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.

6 Answers, 1 is accepted

Sort by
0
Fatme
Telerik team
answered on 02 Apr 2015, 03:17 PM
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.

 
0
Tim
Top achievements
Rank 1
answered on 02 Apr 2015, 04:54 PM
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.
0
Fatme
Telerik team
answered on 07 Apr 2015, 02:53 PM
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.

 
0
Tim
Top achievements
Rank 1
answered on 08 Apr 2015, 02:00 AM
Hi, Thanks for reply. Please check attached log file. Thanks.
0
Fatme
Telerik team
answered on 15 Apr 2015, 02:51 PM
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.

 
0
Tim
Top achievements
Rank 1
answered on 17 Apr 2015, 11:49 PM
Hi, OK, I will wait for your next release. Thanks.
Tags
Command-Line Interface
Asked by
Tim
Top achievements
Rank 1
Answers by
Fatme
Telerik team
Tim
Top achievements
Rank 1
Share this question
or