Giter VIP home page Giter VIP logo

Comments (12)

lamininA1 avatar lamininA1 commented on June 17, 2024
# Misc
_sass/dist
assets/js/dist

Remove those two line in .gitignore

# Misc
#_sass/dist
#assets/js/dist

from jekyll-theme-chirpy.

RaphLeRetour avatar RaphLeRetour commented on June 17, 2024

Hello ! I have the same issue while deploying on Github Pages. Removing the @import 'dist/bootstrap'; fixed the issue but now the site is defaced (which is totally expected).

Did you find a fix for this issue ? Removing the two lines from the .gitignore file doesn't resolve the problem. It seems like it started to happen after May 11th commits regarding the Boostrap dependency.

image

Also, please note that the issue doesn't happen on my local test environment, only while deploying to Github. Unfortunately I don't have a sufficient knowledge of Jekyll or the template to track down the problem. Thank you @cotes2020 !

from jekyll-theme-chirpy.

lamininA1 avatar lamininA1 commented on June 17, 2024

Hello ! I have the same issue while deploying on Github Pages. Removing the @import 'dist/bootstrap'; fixed the issue but now the site is defaced (which is totally expected).

Did you find a fix for this issue ? Removing the two lines from the .gitignore file doesn't resolve the problem. It seems like it started to happen after May 11th commits regarding the Boostrap dependency.

image

Also, please note that the issue doesn't happen on my local test environment, only while deploying to Github. Unfortunately I don't have a sufficient knowledge of Jekyll or the template to track down the problem. Thank you @cotes2020 !

You shouldn't remove bootstrap! That thing is like css bundle that helps your site style. After modified .gitignore file, you need to command git add ., git commit -m "Your massage", and git push. Above problem occur since the repo doesn't have sass files (which is same as css file) and *.min.js files.

from jekyll-theme-chirpy.

RaphLeRetour avatar RaphLeRetour commented on June 17, 2024

I still got the issue after removing these lines for the gitignore file ...

from jekyll-theme-chirpy.

lamininA1 avatar lamininA1 commented on June 17, 2024

Did you do the push again?

from jekyll-theme-chirpy.

RaphLeRetour avatar RaphLeRetour commented on June 17, 2024

Yes ofc

from jekyll-theme-chirpy.

lamininA1 avatar lamininA1 commented on June 17, 2024

Yes ofc

I just checked you repo. And those two lines are still there. Even _sass/dist folder and js/dist folder are not there. Could you check again?

from jekyll-theme-chirpy.

RaphLeRetour avatar RaphLeRetour commented on June 17, 2024

This is a new repo forked from a few commits before the boostrap change I deleted the previous one to work on a clean version. I'll try later with the last commit :)

Thanks for helping I appreciate it !

from jekyll-theme-chirpy.

NichtsHsu avatar NichtsHsu commented on June 17, 2024

Hello ! I have the same issue while deploying on Github Pages. Removing the @import 'dist/bootstrap'; fixed the issue but now the site is defaced (which is totally expected).

This file is generated by npm i && npm run build, and this command is executed by tools/init:

# build assets
npm i && npm run build

The _sass/dist directory is in .gitignore by default. Similarly, tools/init will remove it from .gitignore:

# track the CSS/JS output
_sedi "/.*\/dist$/d" .gitignore

You can check your fork by referring to the above steps. As a last resort, you can re-run tools/init, however this will delete all your modifications.

from jekyll-theme-chirpy.

RaphLeRetour avatar RaphLeRetour commented on June 17, 2024

Did just that, deployement is ok but the site layout is still messed : https://raphleretour.github.io/

The bootstrap dependency is nowhere to be found in the page source code. I still don't have the issue locally.

from jekyll-theme-chirpy.

NichtsHsu avatar NichtsHsu commented on June 17, 2024

image

Have you set the source of Github Pages to Github Action?

from jekyll-theme-chirpy.

RaphLeRetour avatar RaphLeRetour commented on June 17, 2024

Forgot to switch -_- my original mistake is that I didn't notice that there was another dist directory in the _sass folder.

Anyway it's working now. Thank you so much !!

from jekyll-theme-chirpy.

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.