USWDS-Compile - Bug: Error: spawn EINVAL #98
Labels
Needs: Author Response 🔴
We're waiting for more information from a participant
Needs: Confirmation
We need to confirm that this is an issue
Status: Triage
We're triaging this issue and grooming if necessary
Type: Bug
A problem in the code
Describe the bug
After running USWDS for over yr with good success, Im getting errors all of a sudden. This happens when I either run npx gulp watch or npx gulp compile. Im wondering if anyone encountered these messages and have any suggestions on what I can do to resolve it?
Command prompt is as follows:
C:\inetpub\wwwroot\c360\web\themes\custom\ed_cop>npx gulp compile
[14:38:57] Using gulpfile C:\inetpub\wwwroot\c360\web\themes\custom\ed_cop\gulpfile.js
[14:38:57] Starting 'compile'...
uswds.version: 3
Compiling with USWDS 3.7.0
components\style.scss
Error: spawn EINVAL
[14:38:57] Finished 'compile' after 38 ms
C:\inetpub\wwwroot\c360\web\themes\custom\ed_cop>npx gulp watch
[14:45:00] Using gulpfile C:\inetpub\wwwroot\c360\web\themes\custom\ed_cop\gulpfile.js
[14:45:00] Starting 'watch'...
uswds.version: 3
Compiling with USWDS 3.7.0
components\style.scss
Error: spawn EINVAL
/* style.scss */
@use "uswds-core" with (
$theme-image-path: "../assets/img",
$theme-font-path: "../assets/fonts",
$theme-respect-user-font-size: true,
$theme-font-type-sans: "public-sans",
$theme-banner-max-width: "widescreen",
$theme-grid-container-max-width: "widescreen",
$theme-site-margins-breakpoint: "widescreen",
$theme-input-max-width: "desktop",
$theme-font-role-ui: "sans",
$theme-font-role-heading: "sans",
$theme-font-role-body: "sans",
$theme-font-role-code: "mono",
$theme-font-role-alt: "serif",
$theme-type-scale-sm: 5,
$theme-body-font-size: "sm",
$theme-body-line-height: 4,
$theme-color-accent-cool-lighter: #e2f1f3,
$theme-color-accent-cool-light: #b0d9de,
$theme-color-accent-cool: #2b6168,
$theme-color-accent-cool-dark: #0a2231,
$theme-color-accent-cool-darker: #0a2231,
$theme-input-background-color: "white",
$theme-body-background-color: "base-lighter",
$theme-input-tile-border-radius: "lg",
$theme-button-border-radius: "lg"
);
@forward "uswds";
@use "site-wide";
@use "./announcement/announcement";
@use "./sitewide_alert/sitewide_alert";
@use "./resources/resources";
@use "./stepper/stepper";
@use "./quicklinks/quicklinks";
@use "./announcement_deadline/announcement_deadline";
Steps to reproduce the bug
Expected Behavior
npx gulp compile and watch process without any errors or warnings
Related code
No response
Screenshots
System setup
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: