-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Description
Before I begin I want to say I'm on Windows 10 so it might be a Windows specific issue
I was working on a site and couldn't for the life of me get PostCSS to work in Hugo Pipes. I kept getting the following error
It didn't work until I realized the error was showing the wrong directory name. It was showing "D:\Modii\Projects\Contentful " instead of "D:\Modii\Projects\Contentful Starter\contentful-hugo-starter"
My folder structure looks like this:
└── Projects
└── Contentful Starter
└── contentful-hugo-starter
├── assets/
│ └── sass/
│ └── main.scss
├── content/
├── layouts/
├── config.toml
├── postcss.config.js
└── rest_of_my_hugo_files
When I removed the space in the parent directory "Contentful Starter" changing it to "contentful-starter" it began to work properly. So it seems to me Hugo just is having a problem navigating the file structure when one of the files has a space in its name.
PS: Also I did test using Hugo pipes with PostCSS and without. This issue only arises when using PostCSS from my experience.
