Open kieran-reportabl opened 1 month ago
Workaround found: Open the remote server via Kudu tools/SSH and navigate to www root...
rm -rf node_modules
rm -f package-lock.json
npm install
Honestly unsure where to solve this issue. If a dependency version update here isn't the solution, perhaps best I move this to Azure or lru-memoizer.
Checklist
Description
Versions
OS: Ubuntu 22.04.4 Node: 20.14.0, V8 11.3.244.8-node.23 jwks-rsa: 3.1.0
Compile time exception when starting an express.js node app:
Reproduction
jwks-rsa@3.1.0
Additional context
Build fails when deploying to an Azure App Service (docker container). The docker command run by deployment:
docker run -d --expose=8080 --name ***_0_e74571c2 -e WEBSITE_USE_DIAGNOSTIC_SERVER=true -e WEBSITE_SITE_NAME=*** -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=***.azurewebsites.net -e WEBSITE_INSTANCE_ID=*** -e HTTP_LOGGING_ENABLED=1 -e NODE_OPTIONS=--require /agents/nodejs/build/src/Loader.js appsvc/node:20-lts_20240619.2.tuxprod npm run start-uat
Downgrading to 3.0.1/3.0.0 did not resolve
jwks-rsa version
3.1.0
Node.js version
20.14.0