Upgrading to 4.0.0 appears to break lambdas using docker
@godcrampy y travaille déjà.
Depuis le 11/12/2025.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
I had been using
RUN npm install -g aws-lambda-ric
Which is on me for not pinning it to a specific version, but with this after the 4.0.0 release on a new build of an image the lambda will no longer start.
2025-12-06T02:12:47.652Z | npm error could not determine executable to run
-- | --
| 2025-12-06T02:12:47.653Z | npm error A complete log of this run can be found in: /tmp/.npm/_logs/2025-12-06T02_12_46_306Z-debug-0.log
| 2025-12-06T02:12:47.664Z | INIT_REPORT Init Duration: 1421.03 ms Phase: init Status: error Error Type: Runtime.ExitError
Pinning to 3.3.0 allows our service to run.
RUN npm install -g [email protected]
This is across multiple projects for separate company stacks I am seeing this. I've pinned to 3.3.0 across the board.
This is running with node:24 as a base image, and had experienced with a node:23 deployment.
Here is an example of what is being used for the entrypoint with aws-lambda-ric:
ENTRYPOINT ["/usr/local/bin/npx", "aws-lambda-ric"]
CMD ["lib/serverless/lambda/lambda.handler"]
Noting again that after pinning the lambdas work as expected.
This is too similar to the pattern shown here, where the version is unpinned:
- Langage dominant
- TypeScript
- Étoiles
- 224
- Forks
- 60
- Merge moyen
- 26 min
- PR mergées (30 j)
- 2
Préparer son environnement
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de aws/aws-lambda-nodejs-runtime-interface-client
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
aws/aws-lambda-nodejs-runtime-interface-client#198 · 5 commentaires · 6 réactions ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
aws/aws-lambda-nodejs-runtime-interface-client#195 · 13 réactions ·
-
AWS Inspector findings for curlOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 38/100
aws/aws-lambda-nodejs-runtime-interface-client#159 · 2 réactions ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
aws/aws-lambda-nodejs-runtime-interface-client#145 · 1 commentaire · 6 réactions ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
aws/aws-lambda-nodejs-runtime-interface-client#121 · 5 commentaires ·
Toutes les issues de aws/aws-lambda-nodejs-runtime-interface-client
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
melgarafael/DeskcommCRM#1812 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
prisma/prisma-cli#309 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
gregwebs/pi-quota-dispatcher#26 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
openwatersio/slackwater.xyz#124 ·
Les mainteneurs répondent en général sous 1 jour
-
agent-reported area/browser area/docs documentation good first issue hacktoberfest help wanted P2
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
Les mainteneurs répondent en général sous 2 jours