USWDS-Compile - Bug: Platform specific sass-embedded modules are missing from package lock #110
Closed
2 tasks done
Labels
Affects: Compiling
Related to compiling Sass or JavaScript
Affects: Dependencies
Relates to project dependencies
Type: Bug
A problem in the code
Milestone
Describe the bug
This only affects the
develop
branch; it is a regression introduced by #96. Platform specificsass-embedded
modules are missing for all butdarwin-arm64
. This results in a compilation error when any other platform is used to runnpm run init
after cleanly installing packages.Steps to reproduce the bug
Tested on both Windows x64 and Debian 12 x64:
git checkout develop # reset to match upstream if needed npm ci npm run init
Error from Windows:
Error from Linux:
Expected Behavior
Compilation should succeed because the platform specific sass-modules are installed.
Related code
main
branch:uswds-compile/package-lock.json
Lines 4323 to 4491 in 6a6b133
develop
branch:uswds-compile/package-lock.json
Lines 2636 to 2673 in 2d7750a
Screenshots
No response
System setup
No response
Additional context
I would normally suggest regenerating
package-lock.json
entirely...... but you'd have to be willing to accept any version bumps in other packages that meet the version criteria from
package.json
. So, if that's not acceptable, focus on justsass-embedded
:Code of Conduct
The text was updated successfully, but these errors were encountered: