When I am trying to deploy my portfolio site with netlify, using GitHub, I am getting an error. If I upload the same site in a folder and upload it straight to netlify, it goes through and deploys with no errors. Please help.
Thanks.
I will upload the deploy log to a file then attach the link as I have limited characters on here.
Looking at your package.json, you have no build script which is generally what is run by Netlify’s build system. It is possible that removing the package-lock.json could resolve the issue you are facing.
However, I don’t know that you need a build script. I was able to view your site as is without the need to run gulp build first (as would have happened when you are uploading the site manually using drag & drop.)
If you remove the package.json, package-lock.json and gulpfile.js from your GitHub repository, and remove the build command from the Netlify UI, I believe your site will deploy as you expect.