The automated code build process failed last night, even though I did not make any changes related to NPM libraries.
The error message I received was:
ERROR TS2688: Cannot find type definition file for 'keyv'.
The file is in the program because: Entry point for implicit type library 'keyv'.
After investigating, I discovered that the keyv library was missing from my packages json file. However, other packages listed in package.json were relying on it. In the package-lock.json file, @types/keyv was referenced in multiple places.
Further research led me to a line in the package-lock.json file and this link:
https://www.npmjs.com/package/@types/keyv "This is a stub types definition. keyv provides its own type definitions, so you do not need this installed."
It appears that the packages using 'keyv' were attempting to use the deprecated @types/keyv.