Últimamente estuve haciendo un par de proyectos para sumar a mi CV y con todos no tuve ningún problema para subirlo a Github pages.
Sin embargo, por algún motivo, el que quiero subir ahora me termina quedando página en blanco y no logro encontrar donde estoy fallando.
Si alguno me puede dar una mano se agradecería.
{
"name": "react-responsive",
"version": "0.1.0",
"private": true,
"homepage": "https://ltrucco.github.io/WebResponsive/",
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"gh-pages": "^3.1.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-icons": "^4.1.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.1",
"react-scroll": "^1.8.1",
"styled-components": "^5.2.1",
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
Ese es mi package.json
, y éste es el repositorio:
Básicamente estoy corriendo "yarn deploy", y enviando los cambios a git, pero por algún motivo la página sigue en blanco:
EDICIÓN: También probé usando como página inicial https://ltrucco.github.io/WebResponsive sin la barra del final. La página es solo ReactJS, no se conecta con ningún motor (backend).