These tips will help you use Cloud Shell to do the lab.
Drop the -g flag to not try to install node modules globally as this will fail in Cloud Shell. Install them locally instead.
npm install yo
npm install generator-swaggerize
The side effect of a non-global install is that to run 'yo' you will need to do the following:
cd start
../node_modules/yo/lib/cli.js swaggerize --apiPath api.json --framwork express
All other instructions remain the same in this section.
You have to skip this step because Cloud Shell won't allow you access the running web app.
You don't need to do an 'az login', but make sure you do set the right subscription if you have more than one!
You need to set some Git details before using the first time:
Set git details if the first time you're using:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"