preinstall node_modules/aws-lambda-ric ./scripts/preinstall.sh on arm

Open
#121 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, node.js
Domain
devops

Research direction

Start with the linux/arm Docker build shown in the issue and inspect node_modules/aws-lambda-ric and scripts/preinstall.sh, focusing on the preinstall step that hangs. Compare it with the working node:20 build and verify that the arm image completes the build without getting stuck at the aws-lambda-ric preinstall command.

Written by the indexing model from the issue text.

Description

The problem occur when I build the image like this:

FROM --platform=linux/arm node:20

The process get stuck at:

 => => # npm info run aws-lambda-ric@3.1.0 preinstall node_modules/aws-lambda-ric ./scripts/preinstall.sh
image

When I use in my dockerfile something like:

FROM node:20

it run smoothly

Dominant language
TypeScript
Stars
224
Forks
60
Avg merge
26m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-lambda-nodejs-runtime-interface-client

All issues in aws/aws-lambda-nodejs-runtime-interface-client

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.