OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Need Help Deploying to Netlify

  • Thread starter Thread starter Ansh Tandon
  • Start date Start date
A

Ansh Tandon

Guest
Preface: this is my first time doing web dev and hosting

Starters, I downloaded a Reactjs template online for my startup landing page (https://github.com/cruip/tailwind-landing-page-template) and fully customised it. I finished editing it to my liking and am now trying to deploy it onto netlify. But my netlify deploy skips through everything other than pre-processing, and the site preview shows a Page Not Found. enter image description here

  1. I first did an npm run build but that didn't create a build folder as I researched should have been created. So, I figured out from other questions here that I could change the directory as follows. enter image description here

Is this right?

  1. I believe there should be an index.html file in my build folder. Here are the contents from the terminal and a look into the actual build folder itself. enter image description here enter image description here

Any help is much appreciated – happy to send over more codes/debugging messages if that helps.

<p>Preface: this is my first time doing web dev and hosting</p>
<p>Starters, I downloaded a Reactjs template online for my startup landing page (<a href="https://github.com/cruip/tailwind-landing-page-template" rel="nofollow noreferrer">https://github.com/cruip/tailwind-landing-page-template</a>) and fully customised it. I finished editing it to my liking and am now trying to deploy it onto netlify. But my netlify deploy skips through everything other than pre-processing, and the site preview shows a Page Not Found.
<a href="https://i.sstatic.net/TA6w7SJj.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/TA6w7SJj.png" alt="enter image description here" /></a></p>
<ol>
<li>I first did an <code>npm run build</code> but that didn't create a build folder as I researched should have been created. So, I figured out from other questions here that I could change the directory as follows.
<a href="https://i.sstatic.net/eAfx6Y6v.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/eAfx6Y6v.png" alt="enter image description here" /></a></li>
</ol>
<p>Is this right?</p>
<ol start="2">
<li>I believe there should be an index.html file in my build folder. Here are the contents from the terminal and a look into the actual build folder itself.
<a href="https://i.sstatic.net/53i27l3H.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/53i27l3H.png" alt="enter image description here" /></a>
<a href="https://i.sstatic.net/cWqGFp3g.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cWqGFp3g.png" alt="enter image description here" /></a></li>
</ol>
<p>Any help is much appreciated – happy to send over more codes/debugging messages if that helps.</p>
 

Latest posts

I
Replies
0
Views
1
impact christian
I
Top