Giter Club home page Giter Club logo

Comments (2)

gitname avatar gitname commented on September 1, 2024 1

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.

  1. Regarding the message: Failed to load tsconfig.json: Missing baseUrl in compilerOptions

    In the tsconfig.json file you provided, the baseUrl property is, indeed, not located inside the compilerOptions property. I think the message above is reporting that fact.

    I recommend you put a baseUrl property inside the compilerOptions 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).

  2. Regarding the message: The project was built assuming it is hosted at https://khuong.github.io.

    I see your GitHub username as being khuong291, not khuong. Because of that, I think your app will be hosted at https://khuong291.github.io, not at https://khuong.github.io.

    I recommend you change the homepage property in package.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.

  3. 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.

    image

  4. The URL in Item 3 does not appear to me to be consistent with the "homepage" property in the package.json file you provided.

    If your GitHub username is khuong291 and the name of your repository on GitHub is khuong_website, I recommend you define "homepage" to be: "https://khuong291.github.io/khuong_website".

from react-gh-pages.

khuong291 avatar khuong291 commented on September 1, 2024

Thank you so much, it works 👍

from react-gh-pages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.