Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

Troubleshoot NPM deployments to Azure Web Apps

Sometimes npm install and the subsequent build tasks work locally but fail in the remote Azure Web App.

Ensure your remote is running the same Node and NPM versions as your local is.

node -v
npm -v

Delete the remote's node_modules directory.

npm install -g rimraf
rimraf node_modules