Unable to create app: undefined method `>' for nil:NilClass

  • 1
  • Problem
  • Updated 9 years ago
  • Acknowledged
I get this error when trying to build an app from a github repository. I'm using http://github.com/username/repo.git as the template.
Photo of shull.anthony

shull.anthony

  • 4 Posts
  • 0 Reply Likes

Posted 9 years ago

  • 1
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
Can you give us some more information? What's the repo url that's failing to build?
Photo of shull.anthony

shull.anthony

  • 4 Posts
  • 0 Reply Likes
it's http://github.com/anthonyshull/deploy... I tried all of the URLs on github but the form kept saying the URL had to be in the form above.
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
It looks like there's a problem with that repo - you've somehow managed to commit your .git directory (which is supposed to just contain metadata about the repo, not your working tree itself).

I get this error when trying to clone the repo, which is why PhoneGap Build can't process it correctly:

~/dev/tmp $ git clone http://github.com/anthonyshull/deploy.git
Cloning into deploy...
remote: Counting objects: 4067, done.
remote: Compressing objects: 100% (3416/3416), done.
remote: Total 4067 (delta 615), reused 4049 (delta 597)
Receiving objects: 100% (4067/4067), 2.20 MiB | 523 KiB/s, done.
Resolving deltas: 100% (615/615), done.
error: Invalid path './.git/COMMIT_EDITMSG'
error: Untracked working tree file './.git/HEAD' would be overwritten by merge.
Photo of shull.anthony

shull.anthony

  • 4 Posts
  • 0 Reply Likes
Ok, thanks Andrew, I didn't notice that. I actually have a Fabric deploy script that concatenates, minifies, and alters files before moving them into another folder and deploying it to Git. I probably accidentally added the repo while writing the script and never noticed it.

I'll check it out when I get back to work tomorrow and let you know if that fixed it.

Thanks!
Photo of shull.anthony

shull.anthony

  • 4 Posts
  • 0 Reply Likes
Andrew, I rebuilt the repo and PhoneGap:Build imported it without a problem. However, when I went to update the 'update this app from it's repo' button doesn't respond.
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
We have a known issue we're working on with that button - try updating the app from the Edit page.