I'm trying to create a project with the cordova.
I already have everything installed, npm, android sdk cord and etc ..
When I create a project in the directories of my pc, everything works normally.
cordova create teste br.com.anderson Teste
cordova platform add android
cordova run android
But when I try to run this within a mapped network drive of this error at the time of adding the platform:
U:\app1.0\app>cordova platform add android
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms\android
Package: br.com.anderson
Name: Anderson
Activity: MainActivity
Android target: android-22
Copying template files...
cp: copyFileSync: could not write to dest file (code=ENOENT):platforms\android\.gitignore
Error: cmd: Command failed with exit code 1
at ChildProcess.whenDone (C:\Users\Anderson\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess._handle.onexit (child_process.js:833:5)
Has anyone ever had this problem?