Deploy ReactJS App to Netlify

My first time deploying with Netlify was an excellent experience and learning process.

I was working with my portfolio and wasn’t sure where I would deploy it. I was going to deploy using Azure from Microsoft. Still, in my way of deploying it, I found out that my domain name is a .dev extension that requires an SSL Certificate (Secure Sockets Layer) and Azure plan for deploying a ReactJS app high.

I found Netlify, which made my life easy; I found what I wanted to do: deploy my Portfolio using GitHub, and Netlify made it easy for me. I want to share my experience and one error I faced while deploying.

A widespread issue many people face is with this error, and many people find the answer to fixing this error by just adding CI= npm run build. I tried adding this in the setting, but as you see in line 105, it was added, and I still got the same error.

What was the issue, and How did I get it fixed

I google a lot, and all I was finding was the same answer of adding CI= npm run build, but that wasn’t helping me.

Solution

My Github repository was not capitalizing my ‘./pages/About’ that I import in my ./src/App.js, and I found a command that ignored the capitalize on my GitHub.

git config core.ignorecase false

Running this command in my Visual Studio Terminal fixes the issue, and after a push, the change to GitHub Netlify deploys my portfolio successfully.

I was hoping you could look at my portfolio at www.luiscastillo.dev at the time of this post, my portfolio is in the process of a few minor changes.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Luis Castillo

Luis Castillo

Software Engineer / Full-Stack Developer in Ruby, Ruby on Rails, JavaScript, ReactJS, Redux, SQL, HTML5, CSS3