Deploy Angular 17 app

Hi everyone,
I can’t deploy my Angular17 application

It gives me a not found error or a blank page.

Whether I use yarn build or npm start

Index file is into src folder

Hi,

If you’re trying to deploy an Angular site to a Render Static Site, try running the build command locally first to check the folders/files generated.

Then set the “Publish Directory” of the Static Site to the folder where the main index.html is generated.

If you’re getting blank pages, it’s often because your assets are being referenced incorrectly. Check the “Network” tab of the browser console. Then check asset paths against the generated folder structure.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.