govau / design-system-components

🛠 Component code and tests for the Australian Government design system
https://auds.service.gov.au
MIT License
739 stars 111 forks source link

Scaffold build process fails on Windows machine #1001

Closed mrrossmullen closed 3 years ago

mrrossmullen commented 3 years ago

Bug Report

What happened

Running npm run scaffolding on a Windows machine causes the component scaffold build process to fail.

What I expected to happen

A component is created within the packages/ directory and no errors displayed.

Reproducing

Steps to reproduce:

  1. npm i
  2. npm run scaffolding

Attachments

Error is due to how Windows directory structure is created, the problem does not exist on Apple/Linux OS. The starting forward slash character / causes the build to fail.

image

mrrossmullen commented 3 years ago

Fixed with merged PR #1004