Closed WSQsGithub closed 9 months ago
Hi @WSQsGithub,
I took a look at your repository and saw that it contains code unrelated to this tutorial. I recommend you create a new, temporary repository, follow the steps in the tutorial, and then apply the things you learned to this repository.
Also, I recommend not storing the node_modules
folder in the Git repository. The package-lock.json
file contains enough information for npm install
to recreate the node_modules
folder (assuming the packages and package repository remain online). That will keep the Git repository more lean. Here's an article containing some pros and cons of storing the node_modules
folder in the Git repo.
I recommend you create a new, temporary repository, follow the steps in the tutorial, and then apply the things you learned to this repository.
On a side note:
I just noticed there is something that looks like a built web app in the /static
folder of that repo.
https://github.com/WSQsGithub/MyPortfolio/tree/main/static
Given that, deploying from that repo may require changing the gh-pages
command (defined in package.json
) as follows:
- "deploy": "gh-pages -d build",
+ "deploy": "gh-pages -d static",
Closing due to (a) no new messages on this issue and (b) no updates to that repository in over a month. The repository also contained code unrelated to this tutorial.
Hi! I followed the instruction line by line, but when I run
I see the following output
It seems like the gh-pages branch isn't created yet. Is there anything missing in the deploy script? I haven't done any changes to it though.
This is my repository: https://github.com/WSQsGithub/MyPortfolio I would appreciate it very much if you can take a look! Thank you!