Skip to content

Commit a2fe085

Browse files
authored
Merge pull request #2678 from Mikejo5000/mikejo-br12
Nodejs edits
2 parents d548109 + 406d3e8 commit a2fe085

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/javascript/tutorial-nodejs-with-react-and-jsx.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ This app requires a number of npm modules to run correctly.
8989

9090
The project's *package.json* file is updated with the new package information including the package version.
9191

92-
1. Instead of using the UI to search for and add the rest of the packages one at a time, paste the following code into package.json. Replace the `dependencies` section with this code:
92+
1. Instead of using the UI to search for and add the rest of the packages one at a time, paste the following code into package.json. To do this, replace the `dependencies` section with this code:
9393

9494
```js
9595
"dependencies": {
@@ -104,9 +104,11 @@ This app requires a number of npm modules to run correctly.
104104
}
105105
```
106106

107+
If there is no `dependencies` section in your version of the blank template, you must add it instead of replace the existing section.
108+
107109
1. Right-click **npm** node in your project and choose **Update npm Packages**.
108110

109-
Select the **Output** window to see progress on installing the packages. Installation may take a few minutes and you may not see results immediately.
111+
In the lower pane, select the **Output** window to see progress on installing the packages. Installation may take a few minutes and you may not see results immediately. Too see the output, make sure that you select **Npm** in the **Show output from** field in the **Output** window.
110112

111113
Here are the npm modules as they appear in Solution Explorer after they are installed.
112114

@@ -138,7 +140,7 @@ For this simple app, you add the new project files in the project root. (In most
138140

139141
## Add app code
140142

141-
1. Open *server.js* and replace the code with the following code:
143+
1. Open *server.js* and replace the existing code with the following code:
142144

143145
```javascript
144146
'use strict';

0 commit comments

Comments
 (0)