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

does not work with (hu)go modules, SCSS compilation error #41

Open
flypenguin opened this issue Aug 4, 2021 · 0 comments
Open

does not work with (hu)go modules, SCSS compilation error #41

flypenguin opened this issue Aug 4, 2021 · 0 comments

Comments

@flypenguin
Copy link

flypenguin commented Aug 4, 2021

i am using themes with the new hugo module syntax, which - usually - works flawlessly. not so much here, but i think (!) the error is rather simple. i have no clue of go modules unfortunately, this is what i have found out so far.

i'm using hugo v0.87.0+extended darwin/arm64 BuildDate=unknown is. when i try to build the site i get this error:

Start building sites …
hugo v0.87.0+extended darwin/arm64 BuildDate=unknown
Error: Error building site: TOCSS: failed to transform "css/main.scss" (text/x-scss): \
    SCSS processing failed: file "stdin", line 25, col 1: \
        File to import not found or unreadable: vendor/normalize.
Built in 653 ms

if i execute hugo mod vendor it becomes clear - the whole vendor directory is missing from _vendor/github.com/kimcc/hugo-theme-noteworthy/assets/css/. (as far as i understood the mod vendor command copies the module's contents to the local directory _vendor, so your theme's css/vendor dir missing would kinda explain the error message).

for reference - the config file i used can be found here.

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

1 participant