mhanberg / jekyll-postcss

A plugin to use PostCSS plugins like Autoprefixer or Tailwind CSS with Jekyll.
MIT License
66 stars 12 forks source link

Error: Failed to find 'minima' #23

Open yazinsai opened 3 years ago

yazinsai commented 3 years ago

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]

Atem18 commented 3 years ago

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

Agusnez commented 2 years ago

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.

yazinsai commented 2 years ago

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

wgmyers commented 11 months ago

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

aarishgilani commented 2 weeks ago

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