[
https://issues.apache.org/jira/browse/CB-5287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse MacFadyen resolved CB-5287.
---------------------------------
Resolution: Invalid
The changes from 2.9.x to 3.1.0 are vast. This is much more involved than a
simple update script.
Also, there is no released version of 2.9.7, the latest in the 2.9.x branch is
2.9.1, so I guess you are doing something weird. ;)
> Upgrade from 2.9.7 to 3.1.0 platform add error
> ----------------------------------------------
>
> Key: CB-5287
> URL: https://issues.apache.org/jira/browse/CB-5287
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0, 3.1.0
> Environment: 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/Linux
> CentOS
> Reporter: Kevin Vilbig
> Priority: Blocker
> Labels: 3.0.0, error, upgrade
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)