System Down
System Down

Reputation: 6260

New Cordova project gives the error "BLD00102 : No such file or directory 'config.xml'"

I have just installed Visual Studio Tools for Apache Cordova on my Visual Studio 2013 installation. I created a new Cordova project and I tried to compile it, and I got this error:

BLD00102 : No such file or directory 'config.xml'

I have it installed on another machine, and I haven't had that problem.

EDIT: I have confirmed that the file config.xml does exist.

EDIT 2: Failed build log:

Upvotes: 2

Views: 1910

Answers (1)

Avani
Avani

Reputation: 566

CMD.exe doesn't work with UNC paths, which is why it defaults to the Windows directory since you have your Cordova project on a file system.

'\\fs03\users\<redacted>\Visual Studio 2013\Projects\BlankCordovaApp1\BlankCordovaApp1' (TaskId:31) 1> CMD.EXE was started with the above path as the current directory. (TaskId:31) 1> UNC paths are not supported. Defaulting to Windows directory. (TaskId:31)

Moving the project to a file system with a Drive letter should fix that for you.

Upvotes: 1

Related Questions