phonegapbuild-related issue when updating ares

Starting today, ARES introduced support for the PhoneGap Build. While updating a former Git-based development environment, you may face an issue related to the phonegapbuild submodule: Simply run the following command to fix the issue:
rm -rf hermes/node_modules/phonegapbuildapi
git submodule update

Comments

  • having issue with nodejs-module-webos-ipkg

    fatal: https://github.com/enyojs/nodejs-module-webos-ipkg.git/info/refs not found: did you run git update-server-info on the server?
  • @ronheiney I've filed a bug report about this (https://enyojs.atlassian.net/browse/ENYO-1954)

    You can subscribe to the issue on the Jira and it should update you when this gets fixed.
  • also not working here not updating here also ( file not on git hub!!!)
  • We mistakenly mapped a submodule not yet ready for for prime-time. The work-around is to manually edit .gitmodules and remove this webs-ipkg stuff.
  • This is now fixed on the latest version of ares-project on the master branch.

    Sorry for the inconvenience.
  • Hi, just tried to install Ares 2 on my RaspberryPi. But when pulling from git, an error occurs. Does that have to do with the error mentioned above?
    emote: Compressing objects: 100% (1326/1326), done.
    remote: Total 3843 (delta 2506), reused 3809 (delta 2484)
    Receiving objects: 100% (3843/3843), 1.49 MiB | 591 KiB/s, done.
    Resolving deltas: 100% (2506/2506), done.
    Submodule path 'lib/onyx': checked out 'bc69f798b6dbc40a9f7baaa797ac8f36d63df0bc'
    Cloning into 'node_modules/phonegapbuildapi'...
    Permission denied (publickey).
    fatal: The remote end hung up unexpectedly
    Clone of 'git@github.com:enyojs/phonegapbuildapi' into submodule path 'node_modules/phonegapbuildapi' failed
  • @linuxq I think it means you don't have an SSH key added to your github account...which means I think the improper git URL is defined for that particular submodule. If you edit .gitmodules you can change the URL to the https version OR you can generate an SSH keypair and add the public key to github.
  • hi Dave, after setting up SSH keys i could install it :)
  • The top-level README.me says that you need to clone using the SSH URL. If you checkout using the https URL, then the resulting Ares clone is non functionnal. I have just fixed the root cause of this problem on the master branch, so you may re-clone (the easiest) or fix the issue manually as explained below:

    First, edit .gitmodules, and replace:

    [submodule "node_modules/phonegapbuildapi"]
    path = node_modules/phonegapbuildapi
    url = git@github.com:enyojs/phonegapbuildapi
    ...by:

    [submodule "node_modules/phonegapbuildapi"]
    path = node_modules/phonegapbuildapi
    url = ../phonegapbuildapi
    Then edit .git/config, and remove completelly the lines below:

    [submodule "node_modules/phonegapbuildapi"]
    url = git@github.com:enyojs/phonegapbuildapi
    Finally re-update the sub-modules. This operation should succeed, using a log similar to the one below:

    $ git submodule update --init
    Submodule 'node_modules/phonegapbuildapi' (https://github.com/enyojs/phonegapbui
    ldapi) registered for path 'node_modules/phonegapbuildapi'
    Cloning into 'node_modules/phonegapbuildapi'...
    remote: Counting objects: 178, done.
    remote: Compressing objects: 100% (106/106), done.
    rRemote: Total 178 (delta 104), reused 142 (delta 68)eceiving objects: 95% (170
    Receiving objects: 100% (178/178), 61.99 KiB, done.

    Resolving deltas: 100% (104/104), done.
    Submodule path 'node_modules/phonegapbuildapi': checked out 'a899a164b64ffc24599
    69582601ace3733600597'
    Cloning into 'node_modules/unzip'...
    remote: Counting objects: 271, done.
    remote: Compressing objects: 100% (121/121), done.
    rRemote: Total 271 (delta 139), reused 261 (delta 133)eceiving objects: 81% (22
    Receiving objects: 100% (271/271), 38.97 KiB, done.

    Resolving deltas: 100% (139/139), done.
    Submodule path 'node_modules/unzip': checked out '2a15a9f995f87159de8b765d4c92d3
    9a763a80ff'
Sign In or Register to comment.