From f4c7bbd0480c734810946aa7f5e1211b22438468 Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Fri, 6 Jul 2018 09:07:38 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b7f27a5f..fb7f14e3f 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The below assume a new directory and project is required. ```bash mkdir new-project cd new-project - npm init -y && npx -p @pattern-lab/cli -c 'patternlab init' + npm init -y && npx @pattern-lab/cli -c patternlab init ``` > If you get an error stating that `npx` is not installed, ensure you are on `npm 5.2.0` or later by running `npm -v` or install it globally with `npm install -g npx`. [Learn more about npx.](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) 1. Follow the on-screen prompts to choose your Edition and a Starterkit should you want one. From 8b1e35cad181ac42fa3410c206e8e0aacd2d2813 Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Fri, 6 Jul 2018 09:24:24 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fb7f14e3f..89016c3a1 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ The below assume a new directory and project is required. ``` > If you get an error stating that `npx` is not installed, ensure you are on `npm 5.2.0` or later by running `npm -v` or install it globally with `npm install -g npx`. [Learn more about npx.](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) 1. Follow the on-screen prompts to choose your Edition and a Starterkit should you want one. +1. Run `npm install` one last time to ensure any transient packages from the CLI are installed. 1. Open `package.json` and add the following to your `scripts` object ```diff "scripts": {