-
Notifications
You must be signed in to change notification settings - Fork 17
TypeError: sass.sync is not a function #41
Comments
We're using the recommended guidance outlined here What does your gulp file look like? |
I left detailed repro instructions in the "reproduction instructions" section above (not being snarky, it's collapsed and you might not have noticed it). This is with the default gulpfile, the only thing I changed was to update the paths as instructed |
I can confirm and I was able to reproduce the problem. Line 20 definitely should be updated to:
Here is the entire file, btw I also think it's sort of silly that the source directory settings are not just standardized and included with the paths
|
Is there any solution yet for this issue? |
@tinyCoder32 I was able to get this working for me by changing: My gulp an node versions:
|
Just a heads up, we developed a new tool USWDS/Compile (hosted on NPM). USWDS-Gulp isn't under active development anymore. |
In order to get
gulp init
to work, I had to undo a change from #37, specifically this change.To reproduce:
reproduction instructions
And that gulp init outputs:
The only change I had to make to get
gulp init
building was rolling line 20 back toconst sass = require("gulp-sass");
The text was updated successfully, but these errors were encountered: