Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Invalid
-
3.0.0, 3.1.0
-
None
-
uname -a
Linux localhost.localdomain 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/LinuxCentOS
Description
I'm working with a project that builds on Cordova 2.9.7, but when I updated to the latest version via npm and the instructions provided[1], it breaks like so.
[1]http://cordova.apache.org/docs/en/3.1.0/guide_platforms_android_upgrading.md.html#Upgrading%20Android
$cordova platform add android
[Error: An error occured during creation of android sub-project. Creating Cordova project for the Android platform:
Path: platforms/android
Package: com.my.project
Name: myProject
Android target: android-17
Copying template files...
shell.js: internal error
Error: EROFS, read-only file system 'platforms/android/cordova/node_modules/.bin/shjs'
at Object.fs.symlinkSync (fs.js:730:18)
at cpdirSyncRecursive (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:1575:10)
at cpdirSyncRecursive (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:1572:7)
at /home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:325:9
at Array.forEach (native)
at Object._cp (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:302:11)
at Object.cp (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:1491:23)
at copyScripts (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/lib/create.js:86:11)
at /home/kevin/.cordova/lib/android/cordova/3.1.0/bin/lib/create.js:184:9
at setShellFatal (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/lib/create.js:48:5)
I attempted the upgrade directions a couple times, so I don't think I missed a step.