Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Request path contains unescaped characters
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Age calculator app in React

@hollepat

Desktop design screenshot for the Age calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi I have problem setting the app for GitHub pages. When I run npm run deploy ("deploy": "gh-pages -d build") it says this Error: The pattern in the "src" property didn't match any files. at Object.publish (/Users/patrikholler/workspace/age-calculator-app-main/node_modules/gh-pages/lib/index.js:111:7) at /Users/patrikholler/workspace/age-calculator-app-main/node_modules/gh-pages/bin/gh-pages.js:12:13 at new Promise (<anonymous>) at publish (/Users/patrikholler/workspace/age-calculator-app-main/node_modules/gh-pages/bin/gh-pages.js:10:10) at /Users/patrikholler/workspace/age-calculator-app-main/node_modules/gh-pages/bin/gh-pages.js:140:12

Community feedback

@Bishalsnghd07

Posted

Hi, @hollepat 👋

I would say never follow this method, it will only create panic for you. GitHub is only use for track and save your local repository into it, by any chance if you delete your local repository from your pc, then from GitHub you can clone this repo and reuse it for this role GitHub is used for not for deployment.

For deployment I would recommend use netlify or vercel for free and it is hassle-free also.

Hope, this suggestion will help you out!

If, still have problem then feel free to ping me here😊

Happy Coding ❤️

Marked as helpful

0
P

@GioKhabu

Posted

Hello Patrik,

Try to follow these steps: https://github.com/gitname/react-gh-pages

I use it as a guideline every time I want to deploy React on GitHub.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord