generated from uswds/uswds-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Hi all -- I'm attempting to complete the tutorial, and I'm running into a snag at part two, step 7. When I attempt the 'npx gulp init', I receive the following errors:
~/uswds-tutorial dooleywm $ npx gulp init
[16:12:26] Using gulpfile ~/uswds-tutorial/gulpfile.js
[16:12:26] Starting 'init'...
[16:12:26] Starting 'theme'...
Copying USWDS theme files to ./_theme
[16:12:26] 'theme' errored after 858 μs
[16:12:26] TypeError: paths.src.theme.replaceAll is not a function
at theme (/Users/dooleywm/uswds-tutorial/node_modules/@uswds/compile/gulpfile.js:87:43)
at bound (domain.js:416:15)
at runBound (domain.js:427:12)
at asyncRunner (/Users/dooleywm/uswds-tutorial/node_modules/async-done/index.js:55:18)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
[16:12:26] 'init' errored after 2.8 ms
Here's the contents of my gulpfile.js:
const uswds = require('@uswds/compile');
uswds.paths.dist.theme = './_theme';
exports.init = uswds.init;
exports.compile = uswds.compile;
exports.watch = uswds.watch;
Appreciate your help!
Metadata
Metadata
Assignees
Labels
No labels