Skip to content

Commit 36a3b77

Browse files
authored
Merge pull request #171 from github/jtamsut/add-lock-note
Addd note in README to use lock file if `npm i` fails
2 parents 93eaacd + 64ff71b commit 36a3b77

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/development.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ npm i
3131
npm run build -ws
3232
```
3333

34+
**Note**: We have included a `package-lock.json` in `script/workspace`. If `npm run build -ws` fails because packages are not installed correctly with `nmp i`, re-run `script/boostrap` and run `npm ci` to
35+
get working packages.
36+
3437
## Make changes
3538

3639
1. Open the workspace in VS Code `File -> Open Workspace from File...`: `/workspaces/vscode-github-actions.code-workspace`
@@ -57,4 +60,4 @@ Launching and debugging the extension should just work. If you need to debug the
5760

5861
### npm error: "This command does not support workspaces"
5962

60-
Upgrade to a newer version of npm. You can use `npm install npm@latest -g`, `brew upgrade node` or other methods.
63+
Upgrade to a newer version of npm. You can use `npm install npm@latest -g`, `brew upgrade node` or other methods.

0 commit comments

Comments
 (0)