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

Latest Release of WCSS breaks the generation of new components #424

Closed
jason-capsule42 opened this issue Oct 3, 2023 · 0 comments · Fixed by #425
Closed

Latest Release of WCSS breaks the generation of new components #424

jason-capsule42 opened this issue Oct 3, 2023 · 0 comments · Fixed by #425
Assignees
Labels

Comments

@jason-capsule42
Copy link
Member

Please verify the version of wc-generator you have installed

4.2.0

Please describe the bug

  1. Go to http://auro.alaskaair.com/generator/install
  2. Follow the instructions for creating a new component

See this error in the terminal:

Running initial component build . . . . . . . .Command failed: npm run build
Error: Can't find stylesheet to import.
   ╷
10 │ @import './../node_modules/@aurodesignsystem/webcorestylesheets/dist/breakpoints';
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  src/style.scss 10:9  root stylesheet
ERROR: "build:sass:component" exited with 65.
ERROR: "build:sass" exited with 1.

Reproducing the error

This issue cannot be reproduced on the Auro docsite

Expected behavior

The build should run correectly during component generation.

What browsers are you seeing the problem on?

No response

Additional context

No response

Exit criteria

Update all imports in the style.scss file so that the build will run correclty.

@jason-capsule42 jason-capsule42 added Type: Bug Bug or Bug fixes not-reviewed Issue has not been reviewed by Auro team members wc-generator labels Oct 3, 2023
@Patrick-Daly-AA Patrick-Daly-AA removed the not-reviewed Issue has not been reviewed by Auro team members label Oct 3, 2023
blackfalcon pushed a commit that referenced this issue Oct 4, 2023
## [4.2.1](v4.2.0...v4.2.1) (2023-10-04)

### Bug Fixes

* **build:** correct paths for latest WCSS and design token versions [#424](#424) ([fd0970c](fd0970c))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants