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

TOCSS: failed to transform "/scss/main.scss" - The target selector was not found. Use "@extend .td-box--dark !optional" #2048

Open
6 of 12 tasks
dgitw opened this issue Jul 3, 2024 · 1 comment
Labels
bug Something isn't working needs-triage

Comments

@dgitw
Copy link

dgitw commented Jul 3, 2024

Environment

  • Version of Docsy you are using: 0.10.0
  • How are you using Docsy? As a:
    • Hugo module
    • NPM module
    • Git submodule
    • Other:
  • Version of Hugo you are using (output of hugo version): hugo v0.128.1-0ff542b4b9cc7b5cb425bbab8bdb5aace81d0c03+extended linux/amd64 BuildDate=2024-07-02T06:46:41Z VendorInfo=gohugoio
  • OS:
    • Linux
    • macOS
    • Windows
    • Other:

Problem

Just upgraded to 0.10.0

Error: error building site: TOCSS: failed to transform "/scss/main.scss" (text/x-scss): "/home/node/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/[email protected]/assets/scss/main.scss:45:11": The target selector was not found.
Use "@extend .td-box--dark !optional" to avoid this error.
hugo mod graph
[my repo] github.com/google/[email protected]
github.com/google/[email protected] github.com/twbs/[email protected]+incompatible
github.com/google/[email protected] github.com/FortAwesome/[email protected]
[my repo] github.com/google/docsy/[email protected]
node -v
v22.2.0
@dgitw dgitw added bug Something isn't working needs-triage labels Jul 3, 2024
@dgitw
Copy link
Author

dgitw commented Jul 4, 2024

added following to _variables_project.css so build completes as workaround but obviously this changes styles

.td-footer {
  @extend .td-box--dark !optional;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant