Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Incorrect build script documentation #730

Open
3 tasks done
mrrossmullen opened this issue Mar 10, 2021 · 0 comments
Open
3 tasks done

Incorrect build script documentation #730

mrrossmullen opened this issue Mar 10, 2021 · 0 comments
Assignees
Labels
🐛 bug Something isn’t working the way it should. documentation Issue or pull request related to documentation.

Comments

@mrrossmullen
Copy link
Contributor

Bug report

  • I’ve read and understood the Contributing guidelines and have done my best effort to follow them.
  • I’ve read and agree to the Code of Conduct.
  • I’ve searched for any related issues and avoided creating a duplicate issue.

What happened

Applying the build process scripts detailed in the documentation cause build errors when run on Windows when running npm run watch.

What I expected to happen

Build process to complete successfully with no errors shown. Error appears to be npm having difficulty finding the placeholder for each script key within package.json.

doesn't work : "build": "build:css && npm run build:autoprefix"
works : "build": "npm run build:css && npm run build:autoprefix"

Reproducing

  • Website URL: https://designsystem.gov.au/get-started/development-environment/#scripts
  • Browser: n/a
  • Operating system: Windows 10

Steps to reproduce:

  1. Follow guidance for adding scripts section in package.json
  2. run npm run watch

Attachments

image

@mrrossmullen mrrossmullen added 🐛 bug Something isn’t working the way it should. documentation Issue or pull request related to documentation. labels Mar 10, 2021
@mrrossmullen mrrossmullen self-assigned this Mar 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn’t working the way it should. documentation Issue or pull request related to documentation.
Projects
None yet
Development

No branches or pull requests

1 participant