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

USWDS-Compile - Bug: uswds-compile stopped compiling CSS #95

Closed
2 tasks done
ryandwalker opened this issue Apr 1, 2024 · 4 comments
Closed
2 tasks done

USWDS-Compile - Bug: uswds-compile stopped compiling CSS #95

ryandwalker opened this issue Apr 1, 2024 · 4 comments
Labels
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

Comments

@ryandwalker
Copy link

Describe the bug

In the past week, uswds-compile stopped working. My CSS no longer reflects any changes to my SCSS after I run npx gulp compile. The last-updated date on the CSS file changes, but its contents do not change.

Just now I upgraded from uswds-compile 1.0 to 1.1.0, but this did not resolve the problem.

The uswds-compile package was working without incident for three months prior to this issue.

Steps to reproduce the bug

Run npx gulp compile and inspect the CSS for changes. It does not reflect the changes made in my SCSS file.

Expected Behavior

I expect the CSS to reflect the changes to my SCSS after I compile.

Related code

No response

Screenshots

No response

System setup

"@uswds/compile": "^1.1.0"

"@uswds/uswds": "3.7.0"

The web server is IIS.

Additional context

No response

Code of Conduct

@ryandwalker ryandwalker added Needs: Confirmation We need to confirm that this is an issue Type: Bug A problem in the code labels Apr 1, 2024
@github-actions github-actions bot added the Status: Triage We're triaging this issue and grooming if necessary label Apr 1, 2024
@ryandwalker
Copy link
Author

I upgraded to USWDS 3.8.0 just now but this did not resolve the issue.

@mejiaj
Copy link
Contributor

mejiaj commented Apr 1, 2024

Hey @ryandwalker, sorry to hear about the issues. To help debug this, would you be able to provide:

  1. The version of Node you're using (via node -v)
  2. A sample of your gulpfile
  3. Are you seeing any log errors or messages in general when running the task?
  4. To confirm, do you run the npx gulp compile command in powershell on your windows machine?

Admittedly, it's been a while since I've worked on a windows machine — but if you can provide more information that will help us out a lot.

@ryandwalker
Copy link
Author

ryandwalker commented Apr 2, 2024

$ node -v
v20.2.0

gulpfile.js:

/* gulpfile.js */

const uswds = require("@uswds/compile");

/**

  • USWDS version
    */

uswds.settings.version = 3;

/**

  • Path settings
  • Set as many as you need
    */

uswds.paths.dist.css = './css';
uswds.paths.dist.theme = './sass';

/**

  • Exports
  • Add as many as you need
    */

exports.init = uswds.init;
exports.compile = uswds.compile;
exports.watch = uswds.watch;

I see no errors. Please see attached gulp-compile-output.txt.
gulp-compile-output.txt

I use Git Bash in Windows Terminal: https://apps.microsoft.com/detail/9n0dx20hk701?hl=en-US&gl=US

@ryandwalker
Copy link
Author

I am no longer sure there is any problem with the compiling. I think I might be facing some other issue. I'm going to close this bug report for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Projects
Archived in project
Development

No branches or pull requests

2 participants