jekyll-postcss icon indicating copy to clipboard operation
jekyll-postcss copied to clipboard

Error: Failed to find 'minima'

Open yazinsai opened this issue 4 years ago • 5 comments

Hi there, followed the README to get this setup with a fresh Jekyll project (literally jekyll new myproject). I get this error after running jekyll s:

Configuration file: /Users/rock/projects/qun/jekyll/_config.yml
PostCSS Server listening on port 8124...
            Source: /Users/rock/projects/qun/jekyll
       Destination: /Users/rock/projects/qun/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts
PostCSS Error!

Error: Failed to find 'minima'
  in [
    /Users/rock/projects/qun/jekyll
  ]

Minima is the default theme used with Jekyll, but I have no idea why that would be throwing an error. Any tips on how I can get this fixed?

EDIT: Using jekyll 4.2.0, ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin20]

yazinsai avatar Apr 20 '21 08:04 yazinsai

@yazinsai Can you post your configuration files ? I have a working configuration with Tailwind so I can confirm that it works.

Atem18 avatar Apr 29 '21 21:04 Atem18

Hello, I have the same issue. I want to set up Jekyll with Tailwind but still using the minima theme. For some reason I cannot import minima like before configuring PostCSS.

@yazinsai Have you made any progress on this?

Thank you.

Agusnez avatar Sep 09 '21 11:09 Agusnez

@Agusnez yep, got it fixed in my repo here: https://github.com/yazinsai/jekyll-tailwind-template -- should just work

yazinsai avatar Sep 09 '21 12:09 yazinsai

@yazinsai It looks like you have fixed the issue by removing minima entirely from your example.

Is there a way to fix this issue without removing minima?

It looks like the problem is with postcss-import not knowing where to look for the minima files, but the documentation of postcss-import does not clearly explain how to set the paths that are searched.

Any help would be greatly appreciated.

wgmyers avatar Sep 03 '23 17:09 wgmyers

Hey running into same issue here, did anyone figure this out? I want to use tailwind with postcss while still using minima theme.

aarishgilani avatar Jul 10 '24 01:07 aarishgilani