I have created this page to ask questions related to the problems you are facing till now on Angular Course hosted on this site and associated playlist is available on my YouTube channel.
In case you need to post some screen shots to explain the problem a little more, you can send me a mail on sandeep@studymash.com
Once the problem is solved, I will add the detailed solution here on this page, I think it will help
Don’t forget forget to subscribe the channel and press the bell icon.
If you have any other suggestion, feel free to provide suggestions in comment.
Hello Sir,
I have followed all the videos and created the same project locally. But when deploying to Azure (referring to your video: Deploy Angular App on Azure) Buy and Rent pages do not appear and I get the error as: {headers: rd, status: 404, statusText: “Not Found”, url: “https://housingapp.azurewebsites.net/data/properties.json”, ok: false, …}
I have checked the deployed files and properties.json is present there. Locally things work perfectly. I am sending you a complete screen shot from my email address.
Any guidance will be highly appreciated.
Many Thanks.
Ruta
It look like you have not added the data folder in assets array in angular.json file. Can you send me the github link to your code so that I can look where the issue is.
Thank you very much for your reply. I have checked and data is present in the assets array in angular.json file. However I am still not getting the Buy or Rent pages rendered properly in Azure.
Please refer to my Git link -> https://github.com/rrbanavalikar/HSPA.git
Kind Regards,
Ruta.
I doubt it is correctly uploaded on your azure app service, I just have taken your compelled code and hosted on azure. It is working fine at my end.
https://house.azurewebsites.net/
You can add me on skype (sandeep11ind), I would like to see how you are doing that.
Thankyou Sir.
I have redone the whole Azure deployment again but I am still getting the same results. Emailing you the screen shot of the deployed Azure files.
Please could you confirm your convenient time to have a Skype call regarding this.
Many Thanks.
Ruta
Add me on skype (sandeep11ind), we can call tomorrow at 05:00 pm IST
Thank you Sir. Will call you at that time tomorrow.
Thanks a million for your help Sir in getting this fixed and for your time.
I was selecting the wwwroot folder instead of the publish folder while deploying to Azure.
Sir many thanks for your assistance.
Regards,
Ruta
Thanks a million for your help Sir in getting this fixed and for your time.
I was selecting the wwwroot folder instead of the publish folder while deploying to Azure.
Sir many thanks for your assistance.
Regards,
Ruta
Great, thanks for adding this comment,it will help other as well if facing same problem.
npm run lint — –fix does not solve the errors. I do not know what is the problem.