Skip to content

SassError: Can't find stylesheet to import #480

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

Open
crosenbe opened this issue Mar 3, 2025 · 0 comments
Open

SassError: Can't find stylesheet to import #480

crosenbe opened this issue Mar 3, 2025 · 0 comments

Comments

@crosenbe
Copy link

crosenbe commented Mar 3, 2025

After a fresh installation of VLT in my volto project i got this issue ...

Error: Module build failed (from ../../../node_modules/.pnpm/[email protected][email protected][email protected][email protected]_/node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
  ╷
2 │ @import 'addonsThemeCustomizationsVariables';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  ../../../node_modules/.pnpm/@[email protected]_@[email protected]_@kitconcept+volto-bu_cfeahmhmjzxuurpxudjgxrpmie/node_modules/@kitconcept/volto-light-theme/src/theme/main.scss 2:9  root stylesheet

Steps to reproduce:

Install addons

cd frontend/packages/volto-myproject
pnpm install @eeacms/volto-accordion-block @kitconcept/volto-button-block @kitconcept/volto-dsgvo-banner @kitconcept/volto-heading-block @kitconcept/volto-highlight-block @kitconcept/volto-introduction-block @kitconcept/volto-light-theme @kitconcept/volto-separator-block @kitconcept/volto-slider-block

Add content to package.json

  "theme": "@kitconcept/volto-light-theme",
  "addons": [
    "@eeacms/volto-accordion-block",
    "@kitconcept/volto-button-block",
    "@kitconcept/volto-dsgvo-banner",
    "@kitconcept/volto-heading-block",
    "@kitconcept/volto-introduction-block",
    "@kitconcept/volto-highlight-block",
    "@kitconcept/volto-separator-block",
    "@kitconcept/volto-slider-block",
    "@kitconcept/volto-light-theme",
    "volto-myproject"
  ]

Start frontend

cd ../../..
make frontend-start
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