Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR `/assets/themes/bootstrap/css/bootstrap.min.css' not found #302

Open
aallam opened this issue Mar 21, 2016 · 8 comments
Open

ERROR `/assets/themes/bootstrap/css/bootstrap.min.css' not found #302

aallam opened this issue Mar 21, 2016 · 8 comments

Comments

@aallam
Copy link

aallam commented Mar 21, 2016

Hello,

I'am a new user, i followed this instructions, but after running jekyll serve i get the following error (after i access to http://localhost:4000):

[2016-03-21 17:32:43] ERROR '/assets/themes/bootstrap/css/bootstrap.min.css' not found.
[2016-03-21 17:32:43] ERROR '/assets/themes/bootstrap/css/bootstrap-theme.min.css' not found.
[2016-03-21 17:32:43] ERROR '/assets/themes/bootstrap/css/bs-sticky-footer.css' not found.
[2016-03-21 17:32:43] ERROR '/assets/themes/css/style.css' not found.
[2016-03-21 17:32:43] ERROR '/assets/themes/bootstrap/js/bootstrap.min.js' not found.

Meanwhile there is a folder in assests/themes named bootstrap-3.. !

EDIT:
after installing an other theme (twitter theme), the bootstrap errors are gone, but still have the following:

[2016-03-21 17:46:57] ERROR '/assets/themes/css/1.4.0/bootstrap.css' not found.
[2016-03-21 17:46:57] ERROR '/assets/themes/css/style.css' not found.

EDIT2:
Resolved the left errors by copying the folder '_theme_packages/twitter/assets/themes/twitter/css/' into 'assets/themes/'.
Still, i don't think that i should have this the errors after a clean git clone !

@YabZhang
Copy link

Hi~
I meet a similar problem.
I followed the Jekyll QuickStart.

It ran locally well. But when I opened http://yabzhang.github.io/ in my browser, it seemed no css file be loaded.

I checked requests and found all the GET requests strange.


http... /assets/themes/bootstrap-3/bootstrap/css/bootstrap.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
...
http... /assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
...


Actually there is no bootstrap-3 folder in assests/themes on my local machine.

Instead there are twitter bootstrap css three folders.

When I ran jekyll serve locally, it works well. But the static file link is different:

I have a clean git branch.

@aallam
Copy link
Author

aallam commented Mar 27, 2016

@YabZhang
I think you can do one of this solutions:

  • Edit your file like in the patch above
  • Or simply try create a folder named |bootstrap-3| in your folder |assets|, and mv your folder |bootstrap| into it this should work too. (you can check mine here)

@YabZhang
Copy link

@aallam

Thank u!
I create a folder bootstrap-3 and put bootstrap in there. Now it works well.

@Pines-Cheng
Copy link

there are so many stupid problem in Jekyll,I think it is time to give up .

@JazzMaster
Copy link

JazzMaster commented Jun 13, 2016

correct but eh first two can be found and are enhanced elsewhere.
-link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"-
-script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"--/script-
-script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"--/script-

and all three are required IMHO. otherwise it wont load.

@superkarn
Copy link

@aallam creating the bootstrap-3 folder worked for me.

I dug a little deeper and found that this issue is related to these changes: d401344 and cf5484f.

@yaojingguo
Copy link

I am on master branch (commit hash 8193869 ). I have the following errors:

[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/css/bootstrap.min.css' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/css/bootstrap-theme.min.css' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/css/bs-sticky-footer.css' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/css/style.css' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js' not found.

My fix is change ASSET_PATH : false to ASSET_PATH : /assets/theme in _config.yml.

zombiezlk added a commit to zombiezlk/zombiezlk.github.io that referenced this issue Feb 16, 2017
OrangeLu added a commit to OrangeLu/OrangeLu.github.io that referenced this issue Jun 3, 2017
see more in :
plusjade/jekyll-bootstrap#302
plusjade/jekyll-bootstrap@097e330

解決辦法:
先到你的部落格專案 > assets > themes底下建立一個名為bootstrap-3的資料夾,然後再將bootstrap與css資料夾一併丟入bootstrap-3的資料夾內即可。
taget pushed a commit to taget/taget.github.io that referenced this issue Nov 28, 2018
old version of jekyll-bootstrap looking for bootstrap
not bootstrap-3/

but new version of jekyll-bootstrap looking for bootstrap-3/

see plusjade/jekyll-bootstrap#302
@erikmartinessanches
Copy link

erikmartinessanches commented Aug 6, 2020

I changed the folder to bootsrtap-3 but this appears to be a problem for me still. 0 - Jekyll in 3 minutes you wish! More like 3 days if not 3 weeks.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants