phonegap / build

This is the public repository for PhoneGap Build source and bug tracking
92 stars 33 forks source link

After the build the app shows 404 error #400

Open ershubham29 opened 9 years ago

ershubham29 commented 9 years ago

hello,

i got a problem,the issue is that my app shows great in the phonegap developer app but when build it its give me 404 error when the aap launches. and i m new in phonegap so tell me where i m lacking.

thanks

willbittner commented 9 years ago

Yeah I have been getting the same thing. I believe it is hydration. Try without hydration. I had the same issue. It is resolved on android , but I am still working on isolating it.

ershubham29 commented 9 years ago

No this error is due to multiple index.html filevin your project so please check all the folders and that no index.html exist

willbittner commented 9 years ago

Sure - but that is a huge problem - where does it stop searching - a large number of bower packages have a index.html. Also, there is no indication, within reason, that any sort of structure is required. Here is the first thing on google I read when I was researching the possibility this was it: Phone Gap Community What is this requirement constricted to? I would be more than happy to build checks for these things if you can point me to which code base your build service is located in.

I was also experiencing 404 on an included .js or .css file that was different each time I built - seems to be narrowed to hydration. I would be more than glad to fix both of these issues.

Where is the build repo?

ershubham29 commented 9 years ago

Yeah but when I faced the same then that time multiple index problem is there

willbittner commented 9 years ago

Ah gotcha - yeah - I believe they search for the files needed with grep, regex, etc. Hydration it looks like they incompletely load some files, different ones with sequential builds with no changes. Sounds like a timing bug- that would likely cause the error. I wish I could find the repo - it will take me less time to fix it than I spent figuring it out :-) Do you know if they released the code responsible for remote building?