[jira] [Created] (CB-8985) Cordova wont install or update
Kris Erickson created CB-8985: - Summary: Cordova wont install or update Key: CB-8985 URL: https://issues.apache.org/jira/browse/CB-8985 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 4.1.3, 5.0.0 Environment: Windows Reporter: Kris Erickson Update cordova gives an error, and blows away Cordova. Installing also gives the error, the only fix is to install version 4.0.0 >npm install -g cordova npm ERR! notarget No compatible version found: JSONStream@'>=1.0.3-0 <2.0.0-0' npm ERR! notarget Valid install targets: npm ERR! notarget ["0.0.0","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.7.0","0.7.1","0.8.0","0.7.2","0.7.3","0.7.4","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0","0.10.0"] npm ERR! notarget npm ERR! notarget This is most likely not a problem with npm itself. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\\Program Files\\nodejsnode.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova" npm ERR! cwd D:\Projects\ npm ERR! node -v v0.10.38 npm ERR! npm -v 1.4.28 npm ERR! code ETARGET npm ERR! not ok code 0 See also http://stackoverflow.com/questions/30107474/error-installing-cordova http://stackoverflow.com/questions/30107556/trouble-installing-phonegap-no-compatible-version-found-jsonstream-1-0-3 http://forum.ionicframework.com/t/issues-installing-cordova-using-npm-install/22573 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-7514) res/xml/config.xml Gets clobbered on prepare with default values.
Kris Erickson created CB-7514: - Summary: res/xml/config.xml Gets clobbered on prepare with default values. Key: CB-7514 URL: https://issues.apache.org/jira/browse/CB-7514 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.5.0 Environment: windows 7 64bit, android. Reporter: Kris Erickson When running "cordova prepare android" the res/xml/config.xml gets clobbered with default values (e.g. id becomes io.cordova.helloCordova, it looses a couple of installed plugins, the version gets reset to the default value, etc). See http://stackoverflow.com/a/20383398/3798 for a good summary of what happens. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CB-5127) Detect changes to plugins and reinstall their source on prepare
[ https://issues.apache.org/jira/browse/CB-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799390#comment-13799390 ] Kris Erickson commented on CB-5127: --- Perhaps some of this information (what exactly prepare does) could be added to the documentation. Also maybe add a command or an option to the prepare could be added to 're-install' plugins rather than adding them, since uninstalling and reinstalling plugins is a bit of a pain since it requires the full git path. For myself, everything is in my VCS and I have added the source code in platform to the VCS (initially I assumed that it would be like the asset directory and updated each prepare and kept it out of VCS). I also assumed that if the plugin got update it would update source code, but I guess that also is wrong (do you have to remove and re-add plugins to update them in general). I like the new plugin architecture but it is very poorly documented (even finding the list of plugins is frequently a googling safari and without www.plugreg.com I would have difficulty finding plugins at all.) > Detect changes to plugins and reinstall their source on prepare > --- > > Key: CB-5127 > URL: https://issues.apache.org/jira/browse/CB-5127 > Project: Apache Cordova > Issue Type: Improvement > Components: CLI >Affects Versions: 3.0.0 > Environment: Windows 7, cordova CLI 3.0.4 >Reporter: Kris Erickson >Assignee: Braden Shepherdson > Fix For: 3.2.0 > > > Running > cordova prepare android > copies the javascript portion of the plugin, but not the Java source on > android (haven't yet tested on IOS). Thus when the project is moved between > machines the source isn't copied if it isn't retained in the VCS or if the > user adds a platform after adding a plugin. My suggestion would be to copy > only if the source isn't there in case the user has changed the plugin. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-5127) Plugin src (at least on Android) is not copied to the platforms directory on prepare
Kris Erickson created CB-5127: - Summary: Plugin src (at least on Android) is not copied to the platforms directory on prepare Key: CB-5127 URL: https://issues.apache.org/jira/browse/CB-5127 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: 3.0.0 Environment: Windows 7, cordova CLI 3.0.4 Reporter: Kris Erickson Running cordova prepare android copies the javascript portion of the plugin, but not the Java source on android (haven't yet tested on IOS). Thus when the project is moved between machines the source isn't copied if it isn't retained in the VCS or if the user adds a platform after adding a plugin. My suggestion would be to copy only if the source isn't there in case the user has changed the plugin. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-4529) Add to CLI documentation that android has to built after npm install.
Kris Erickson created CB-4529: - Summary: Add to CLI documentation that android has to built after npm install. Key: CB-4529 URL: https://issues.apache.org/jira/browse/CB-4529 Project: Apache Cordova Issue Type: Improvement Components: Docs Affects Versions: 3.0.0 Environment: Windows Reporter: Kris Erickson Assignee: Michael Brooks Priority: Minor Add to CLI documentation that android has to built after npm install. See https://groups.google.com/forum/#!searchin/phonegap/windows$20cli/phonegap/yqh0wFqHTss/52IXqyYy-SwJ for more details. Also it would be nice if the CLI recognized that android platform was not built and produced a more insightful warning. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira