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

Arguments to path.join must be strings

3 Answers 68 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dan
Top achievements
Rank 1
Dan asked on 03 Oct 2013, 06:16 PM
I am trying to build a project in Icenium using Cordova 3.0.0.  My project fails to build with the error 'Arguments to path.join must be strings'.

The problem is I am not using path.join in my project or plugins.

I created a new project in Icenium Graphite
I added plugins from GitHub for File and FileTransfer.
I tried to Build Android
Your package failed to build. (Arguments to path.join must be strings).  There is no other debug information.

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Oct 2013, 01:06 PM
Hi Dan,

This is an indication that you custom Cordova plugin cannot be built, usually due to incorrect plugin.xml file. Have you checked the Making a Custom Plugin Plugman-Compatible documentation section that outlines how to modify plugin.xml, so that it can be used by Icenium?

If you're unable to identify the problem with your plugin, let us know which is the project and plugin in question and we would take a look.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Dan
Top achievements
Rank 1
answered on 08 Oct 2013, 03:35 PM
Hi Steve, I am still getting the error with the FileTransfer plugin added.  The project will build with the File plugin added.  My project workspace is DanFileTransfer.  Any direction would be appreciated.
0
Steve
Telerik team
answered on 10 Oct 2013, 03:25 PM
Hi Dan,

Thanks for the clarification. I reviewed your app and noticed that you're trying to install the Cordova core plugins manually as custom plugins. As I've explained in your previous forum "Problems using Device Plugin", you do not have to do this for Icenium as the core Cordova plugins are already available in Icenium project.

I also see that you base your project on our file-transfer sample, which is working correctly as it is, please clone it from Mist/Graphite and deploy it on your device as it is without any changes to verify that.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
Report a bug
Asked by
Dan
Top achievements
Rank 1
Answers by
Steve
Telerik team
Dan
Top achievements
Rank 1
Share this question
or