AlaskaAirlines / WC-Generator

Auro's automated web component generator
https://auro.alaskaair.com/getting-started/developers/generator/install
Apache License 2.0
5 stars 9 forks source link

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

Closed jason-capsule42 closed 1 year ago

jason-capsule42 commented 1 year ago

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.