Configuration Information [Automatically generated, do not change]: XXX Bash Version: 5.1 Patch Level: 16 Release Status: relase Bash version: 5.1.16(1)-release (x86_64-alpine-linux-musl)
Description: Issue discussed at https://github.com/disney/meteor-base/pull/102 Supposedly related with Bash5.1, 'hash npm' now fails in very recent bash, but not in local macos bash, nor older linux docker images bashes Repeat-By: Supposedly related with upgrade of Docker node image: 'FROM node:14.18.2-alpine', or 'RUN apk --no-cache add bash' Fix: 1- Rely on sh instead of bash for given docker image 2- Update our script from 'hash npm' to 'hash /usr/bin/npm' I can not reproduce this issue on my local machine: Machine: Mac OS: Darwin Compiler: gcc Compilation CFLAGS: Xcode uname output: Darwin MacBook-Pro-2019.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64 Machine Type: x86_64-Apple-Darwin But bugbash is not available in the context of this issue (node:14.18.2-alpine in a CircleCI Linux VM) Build-agent version 1.0.109338-7f9b6d1b (2022-02-21T11:51:28+0000) System information: Server Version: 20.10.12 Storage Driver: overlay2 Backing Filesystem: xfs Cgroup Driver: cgroupfs Cgroup Version: 1 Kernel Version: 5.11.0-1027-aws Operating System: Ubuntu 20.04.3 LTS OSType: linux Architecture: x86_64 Starting container cimg/openjdk:11.0.13 Warning: No authentication provided, using CircleCI credentials for pulls from Docker Hub. image cache not found on this host, downloading cimg/openjdk:11.0.13 11.0.13: Pulling from cimg/openjdk ... Status: Downloaded newer image for cimg/openjdk:11.0.13 cimg/openjdk:11.0.13: using image cimg/openjdk@sha256 :8a305d0cbe9f7398901f287817d034723f964b6368c03e10e2d92a37d34ac62c pull stats: download 388.4MiB in 3.018s (128.7MiB/s), extract 498.4MiB in 3.399s (146.6MiB/s) Thanks -- Benoit Lacelle