Azure / Azure/azure-functions-nodejs-library

Reduce support cases: npm dependencies

Open
#159 0 comments 0 reactions 0 assignees View on GitHub
area:nodejs-functions IPD
Dominant language
TypeScript
Stars
70
Forks
35
Avg merge
4d 18h
Merged PRs (30d)
6

Description

Quite a few support cases where the user forgot to install all npm dependencies, leading to errors like "Cannot find module". The fix was to redeploy after installing or updating dependencies

Another potential problem is where the user doesn't commit a package-lock.json to their repo and/or `npm ci` and automatically gets their deps updated on every deployment.

## Support cases from June 2023 - Sept 2023

_Internal-only links_:

User didn't have all npm deps:
- https://elixir.microsoft.com/case-review/2307060030002928
- https://elixir.microsoft.com/case-review/2309140010000292
- https://elixir.microsoft.com/case-review/2306190050000203
- https://elixir.microsoft.com/case-review/2306260010002413
- https://elixir.microsoft.com/case-review/2307040030001238
- https://elixir.microsoft.com/case-review/2307140030000381

User needed to update npm deps:
- https://elixir.microsoft.com/case-review/2308090040009026
- https://elixir.microsoft.com/case-review/2307240040004773

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.