Hi everybody. I’have deployed my app ( https://sparkling-daffodil-439c8a.netlify.app) but there is nothing. I want to deploy a folder inside a repository in GitHub, not the whole repository. What can I do? Thaks in avdance. Regards.
we need to know your netlify site name. Example: gifted-antelope-58b104.netlify.app
DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
Build problems? Link or paste the FULL build log & build settings screenshot
Hi again. Sorry for the delay. I have a bundle. I have change the settings of the deployment. The “index.htm” in the “dist” folder targets the “bundle.js” which I suppose is the compiled project. But it doesn’t work either. What can I do?
Hi. I did but the app is not deployed. The message says "The directory doesn’t exist. My app is in a folder inside a repository in GitHub, the url is “Amapola-Negra/REACT-PROJECTS-REPO/random-quotes-machine/dis/index.html” The “index.html” file is the one that is linked to the “bundle.js”. I have the capture of my build settings. I appreciate any help. Regards
The base directory value is incorrect. The value is the name of the directory inside the repository you are deploying from, i.e.Random-Quote-Machine and the publish directory value should show Random-Quote-Machine/dist. You are including your GitHub username (Amapola-Negra) and repository name (which is now called freeCodeCamp-Projects-Repo) which is not correct.
This is not a Netlify issue, it is your project, as I received the message when attempting to build the project locally. To fix it, as the log shows,
Add @babel/preset-react (https://github.com/babel/babel/tree/main/packages/babel-preset-react) to the 'presets' section of your Babel config to enable transformation.
To do this, create a babel.config.json file in Random-Quote-Machine directory, run npm i @babel/preset-react and then npm run build(always a good idea to do this locally to check everything is working before deploy IMHO.)