Changes between Version 3 and Version 4 of Nodejs
- Timestamp:
- 11/10/22 07:13:35 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Nodejs
v3 v4 19 19 } 20 20 }}} 21 22 21 With your new package.json file, run npm install. If you are using npm version 5 or later, this will generate a package-lock.json file which will be copied to your Docker image. [[br]] 23 22 24 23 2. Then, create a server.js file that defines a web app using the Express.js framework: 25 26 24 {{{ 27 25 'use strict';