Comments (2)
Hi @khuong291,
Thanks for including so much relevant information in your Issue report.
My analysis of your situation is below. Please note that I have never used TypeScript before, so I may be overlooking something. I used a generic troubleshooting process in this analysis.
-
Regarding the message:
Failed to load tsconfig.json: Missing baseUrl in compilerOptions
In the
tsconfig.json
file you provided, thebaseUrl
property is, indeed, not located inside thecompilerOptions
property. I think the message above is reporting that fact.I recommend you put a
baseUrl
property inside thecompilerOptions
property, like this:{ "compilerOptions": { + "baseUrl": ".", "outDir": "build/dist", //...
I don't mean to imply that
"."
is the correct value for that property (I am not familiar with that property, as I have never used TypeScript before). -
Regarding the message:
The project was built assuming it is hosted at https://khuong.github.io.
I see your GitHub username as being
khuong291
, notkhuong
. Because of that, I think your app will be hosted athttps://khuong291.github.io
, not athttps://khuong.github.io
.I recommend you change the
homepage
property inpackage.json
accordingly, like this:{ "name": "khuong_website", "version": "0.1.0", "private": true, - "homepage": "https://khuong.github.io", + "homepage": "https://khuong291.github.io",
For more information, I recommend you read this GitHub Help article about the URLs that GitHub assigns to User Pages sites vs. Project Pages sites.
-
Regarding the message:
fatal: repository 'https://github.com/khuong291/khuong_website.git/' not found
I recommend you verify that that repository exists. When I visit that URL, I don't see a repository homepage; instead, I see an Error 404 page (shown below). To me, that means the repository is either private (which is OK), or it doesn't exist at all.
-
The URL in Item 3 does not appear to me to be consistent with the
"homepage"
property in thepackage.json
file you provided.If your GitHub username is
khuong291
and the name of your repository on GitHub iskhuong_website
, I recommend you define"homepage"
to be:"https://khuong291.github.io/khuong_website"
.
from react-gh-pages.
Thank you so much, it works 👍
from react-gh-pages.
Related Issues (20)
- Create example issue using new "Help" template
- Deploy script does not automatically build
- Tutorial does not indicate that Vite would store the build in `dist` instead of `build` HOT 2
- Blank website after deploying with gitpages HOT 2
- Blank Page after deployment HOT 16
- Github Pages Failed to load resource: The server responded with a status of 404 () HOT 2
- Deleting history of past commits with GitHub pages HOT 4
- Translate instructions into traditional Chinese (offer) HOT 4
- Failed to create `gh-pages` branch HOT 3
- App deploys successfully but rendering empty page (Unexpected Token) HOT 2
- Routing works locally, but not on GitHub Pages HOT 2
- Best way to push ongoing changes HOT 3
- Storing API keys in client side web apps, even at build time, exposes those API keys to users HOT 1
- Translate instructions into Spanish HOT 2
- React BrowserRouter doesn not work in github page
- Indonesian Translation
- I am getting a blank page HOT 2
- Blank page on deployment HOT 1
- Github Page failed to deploy
- Brazilian Portuguese Translation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-gh-pages.