Npm doctor command in Node.js
Npm doctor command (in node js) is simple if you keep it on paper. Amit uses it for install express in a new folder.
Npm doctor command (in node js) on the board: npm init + npm i express. Then say what install express looks like after.
Npm doctor command (in node js) exists so Amit can keep install express correct in a new folder.
Amit ships Npm doctor command (in node js) in a new folder. That is the use case worth saying.
Npm doctor command (in node js) miss — deleting package-lock blindly. Fix it before you talk about advanced Node.js.
After Npm doctor command (in node js), Amit should still remember deleting package-lock blindly.
Close Npm doctor command (in node js) with: “If I skip it, install express goes wrong like this: deleting package-lock blindly.”
Board: install express. Dry-run Npm doctor command (in node js). Name the trap: deleting package-lock blindly.