Skip to content

Commit 15bb445

Browse files
authored
Update README.md to include npm install
Add npm install command to avoid package installation related errors.
1 parent 741b557 commit 15bb445

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

exercises/hello-workflow/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,17 @@ You will create and make your changes to the code in the `practice` subdirectory
1818
1. Open the `worker.ts` file (located in the `practice/src` subdirectory) in the editor
1919
2. Change the task queue name to `greeting-tasks`
2020
3. Save your changes
21-
4. Repeat this process in the `client.ts` file
21+
4. Repeat this process in the `client.ts` file
2222

23-
## Part C: Start the Worker
23+
## Part C: Install Dependencies
24+
25+
1. Open a terminal window in your environment and navigate to the `exercises/hello-workflow/practice` subdirectory.
26+
2. Run the following command to install the required dependencies:
27+
```command
28+
npm install
29+
```
30+
31+
## Part D: Start the Worker
2432

2533
1. Go to a terminal window in the environment and change to the `exercises/hello-workflow/practice/src` subdirectory for this exercise
2634
2. Run the following command to start the Worker:
@@ -29,7 +37,7 @@ You will create and make your changes to the code in the `practice` subdirectory
2937
npm run start.watch
3038
```
3139

32-
## Part D: Start the Workflow from the Command Line
40+
## Part E: Start the Workflow from the Command Line
3341

3442
1. Open another terminal window in the environment and change to the `exercises/hello-workflow/practice/src` subdirectory.
3543
2. Run the following command, replacing `Donna` with your own name. Be sure to retain the same quoting shown here when you run the command:
@@ -69,4 +77,4 @@ This command shows you a lot of information. We will cover this output later in
6977

7078
It is also possible, and often more convenient, to view this information using the Web UI. You will have a chance to do this in the next exercise.
7179

72-
### This is the end of the exercise.
80+
### This is the end of the exercise.

0 commit comments

Comments
 (0)