uswds / uswds-compile

Simple Gulp 4 functions for copying USWDS static assets and transforming USWDS Sass into browser-readable CSS.
Other
21 stars 12 forks source link

USWDS-Compile - Dependencies: Install optional dependencies for sass-embedded #111

Closed mahoneycm closed 1 month ago

mahoneycm commented 1 month ago

Summary

Installed optional dependencies for sass-embedded to resolve initialization errors for some systems.

Related issue

Closes #110

Problem statement

Running npm init causes an error for some systems where sass-embedded cannot find the correct executable for their system.

Solution

Install all of sass-embedded's optional dependencies to support other developer machines.

Testing and review

  1. Checkout this branch
  2. Run npm ci
  3. Run npm run init
  4. Confirm there are no errors

Dependency updates

No direct dependency updates

mahoneycm commented 1 month ago

Adding comment from @mdmower-csnw in the source issue (#110)

The updates to package-lock.json look complete (matches list of optionalDependencies for sass-embedded) and I verified I can compile successfully on both Windows 11 64bit and Debian 12 64bit.