Unable to create app: no index.html present !!
I am trying to use phonegap build but every time it tells me: Unable to create app: no index.html present. And I am positive I have uploaded an index.html file, i have even tried just uploading a single index.html file, and it still tells me there isnt one.
Can someone please explain why it isnt working?
I am trying to use phonegap build but every time it tells me: Unable to create app: no index.html present. And I am positive I have uploaded an index.html file, i have even tried just uploading a single index.html file, and it still tells me there isnt one.
Can someone please explain why it isnt working?
- 12 Posts
- 1 Reply Like
- frustrated
Posted 10 years ago
- 1911 Posts
- 199 Reply Likes
Unfortunately there was a bug with our error checking that I committed just before going on vacation for the holidays. I've patched it now on the site - sorry for the inconvenience.
- 1 Post
- 0 Reply Likes
Happens again here...svn/github-related problem?
hmmm..strange..now it works...actions:
1) upload zip with index.html in ziproot : FAIL
2) upload zip with index.html in 1st dir (the phonegap examplegithub-zip): FAIL
3) press feedback button (report error)
4) upload zip mentioned in 1. : WORKS
hmmm..strange..now it works...actions:
1) upload zip with index.html in ziproot : FAIL
2) upload zip with index.html in 1st dir (the phonegap examplegithub-zip): FAIL
3) press feedback button (report error)
4) upload zip mentioned in 1. : WORKS
- 1911 Posts
- 199 Reply Likes
Yes, I committed a change last week to make the upload process more forgiving. Hope it helps.
- 5 Posts
- 0 Reply Likes
I had this problem - and I got things working by renaming my zipfile to something simple (I had a space in the filename before) - and then stuff worked :)
- 1 Post
- 0 Reply Likes
I've tried renaming my zipfile (down to just 'test.zip') but still no luck. I've emailed the zipfile to you (Andrew) to examine. Thanks for your help!
- 1911 Posts
- 199 Reply Likes
I've deployed a couple of changes that should fix these problems for you guys - please try reuploading and let me know what you find.
- 4 Posts
- 0 Reply Likes
I've never once been able to get past this issue. If I upload a single index.html file everything works. But then there are no assets included in the build, such as the javascript files, css, and images. If I zip up my complete directory with the index.html file right there in the root of the zip, I continue to get this error.
Thanks for working on this, Andrew, but the problem is still there. Any thoughts?
Thanks for working on this, Andrew, but the problem is still there. Any thoughts?
- 3 Posts
- 0 Reply Likes
Although I tried to pull from git repo url, I have the same problem too.
Unable to create app: no index.html present !!
Unable to create app: no index.html present !!
- 1911 Posts
- 199 Reply Likes
It looks as though there was a further bug arising Mark - the results of doing a glob on the contents of the zip file were ordered differently on my development Mac than on our Linux server. I've deployed a fix now - your app successfully uploads in our staging environment, so you should be able to upload it to your account.
celljane, if you're pulling from a git repo, the index.html file should still be in the root of the repo (for now, at least)
celljane, if you're pulling from a git repo, the index.html file should still be in the root of the repo (for now, at least)
- 4 Posts
- 0 Reply Likes
- 2 Posts
- 0 Reply Likes
I can't even upload a single index.html or pull from the example git repo.
The page refreshes and no error messages are shown.
The page refreshes and no error messages are shown.
- 1911 Posts
- 199 Reply Likes
Screwed up a deploy this morning - things there should be fixed now.
- 2 Posts
- 0 Reply Likes
looks like its still giveing issues... {cant find index.html}
- 2 Posts
- 0 Reply Likes
- 1 Post
- 0 Reply Likes
Hi Andrew,
When I try to upload the .Zip file i get error : no index.html present.
And the index.html file is present in thr directory structure.
Please see into this.
When I try to upload the .Zip file i get error : no index.html present.
And the index.html file is present in thr directory structure.
Please see into this.
- 1911 Posts
- 199 Reply Likes
I need more information to look at this - can you email the zip file to build@phonegap.com? We can have a look at what the issue is then.
- 2 Posts
- 0 Reply Likes
I have this exact same problem.
I already posted the same question on another thread
This is getting frustrating.
My app ID is 41174
Thanks.
I already posted the same question on another thread
This is getting frustrating.
My app ID is 41174
Thanks.
- 3 Posts
- 0 Reply Likes
Anyone seeing this issue again today? ... Have had uploaded resources succesfully always until today .... I get this no index.html error. Have tried uploading my previous successful uploads as well but in vain ...
- 2 Posts
- 0 Reply Likes
- 11 Posts
- 0 Reply Likes
- 3 Posts
- 0 Reply Likes
i have same problem , what should I do ??
- 8261 Posts
- 263 Reply Likes
Answered:
http://community.phonegap.com/nitobi/...
http://community.phonegap.com/nitobi/...
- 11 Posts
- 0 Reply Likes
- 2 Posts
- 0 Reply Likes
The same issue has just happened to me while linking to a git repo that was working earlier.
I've tried creating a private zip from git repo and uploading, which worked. Just make sure not to upload the very file downloaded from git, since it won't have index.html on the first level. Extract it, enter the main directory and create a new zip file so that index.html is at root level.
Creating a new app like shemanov did not work :(
Best regards, build phonegap is an excellent tool!
I've tried creating a private zip from git repo and uploading, which worked. Just make sure not to upload the very file downloaded from git, since it won't have index.html on the first level. Extract it, enter the main directory and create a new zip file so that index.html is at root level.
Creating a new app like shemanov did not work :(
Best regards, build phonegap is an excellent tool!
- 8261 Posts
- 263 Reply Likes
Hi Daniel
Did you host in a private git? If not then can you share the link. I'll try to reproduce and see what the actual root cause.
Thanks
-Amir
Did you host in a private git? If not then can you share the link. I'll try to reproduce and see what the actual root cause.
Thanks
-Amir
- 33 Posts
- 0 Reply Likes
This is happening to me right now. I am uploading a zip. There is definitely an index.html in the root. I built this app yesterday with only minor tweaks to a js file today (tested and working in browser, so don't suspect any js issuse).
- 12 Posts
- 0 Reply Likes
I have the same issue, I tried uploading a zip file (not Git) and despite it working yesterday it failed with the "index.html" warning.
I tried deleting the app and trying to build it again but I'm repeatedly getting the same issue.
App ID 343886
I tried deleting the app and trying to build it again but I'm repeatedly getting the same issue.
App ID 343886
- 8261 Posts
- 263 Reply Likes
Hi John
When you package the app, are you zipping the Winning Quiz 'parent' folder or just the Winning Quiz folder?
-Amir
When you package the app, are you zipping the Winning Quiz 'parent' folder or just the Winning Quiz folder?
-Amir
- 10 Posts
- 1 Reply Like
@Amir: the problem is not to be solved in the way we zip the files: I have the problem on my Github hosted projects, so you need to rollback on whatever changes you made yesterday. Everything went fine up to then. We have no direct control on the way files are packaged between Github and Adobe Phonegap Build. And also, we cannot change or rename the directory structure. So this must be fixed on your side I guess.
- 12 Posts
- 0 Reply Likes
Definitely not the parent folder, I had the same thought so made sure it wasn't that.
- 8261 Posts
- 263 Reply Likes
Hi John
The index.html need to be placed in the root directory. Here is the detail:
http://community.phonegap.com/nitobi/...
-Amir
The index.html need to be placed in the root directory. Here is the detail:
http://community.phonegap.com/nitobi/...
-Amir
This conversation is no longer open for comments or replies.
This conversation is no longer open for comments or replies.
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers









