Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openwhisk install pakages fails #757

Open
Xnyle opened this issue Nov 16, 2022 · 7 comments
Open

Openwhisk install pakages fails #757

Xnyle opened this issue Nov 16, 2022 · 7 comments

Comments

@Xnyle
Copy link

Xnyle commented Nov 16, 2022

ENOTDIR: not a directory, open '/openwhisk-package-alarms/action/node_modules/.staging/@types/node-7154234c/package.json'

I'm starting to wonder if this project is even maintained anymore?

@obrr-hhx
Copy link

I have met this problem because I use the old version image openwhisk/ow-utils in the values.yaml.
That image's npm version and node version is too old, npm is just v3.5.2 and node version is v8.x.x.

@kzhang28
Copy link

You can change the openwhisk/ow-utils image version to the latest one. That should help solve the issue.

@raman-lsq
Copy link

Any workaround for this?
I tried other tags for openwhisk/ow-utils they throw below error

install-packages HEAD is now at 2c621c07 fix start.sh to work on macos (#5019)                             │
│ install-packages /                                                                                         │
│ install-packages /openwhisk/ansible/roles/routemgmt/files /                                                │
│ install-packages Installing apimgmt package                                                                │
│ install-packages ok: updated package apimgmt                                                               │
│ install-packages Creating NPM module .zip files                                                            │
│ install-packages node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)  │
│ install-packages Failed to deploy routemgmt package; will pause, uninstall, and try again                  │
│ install-packages Deleting routemgmt actions                                                                │
│ install-packages error: Unable to get action 'routemgmt/getApi': The requested resource does not exist. (c │
│ install-packages Run 'wsk --help' for usage.

Above error is with below tag

utility:
  imageName: "openwhisk/ow-utils"
  imageTag: "084c2ad"
  imagePullPolicy: "IfNotPresent"

@style95
Copy link
Member

style95 commented Feb 16, 2023

@raman-lsq
Do you have glibc_2.29 installed in your local machine?

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found

@raman-lsq
Copy link

The install_packages container is having version 2.27...

and my local i.e. wsl2 is having 2.35

@agcom
Copy link

agcom commented Dec 11, 2023

This is duplicate of #735; TL;DR: consider deploying Helm from the latest commit (tried and succeeded).

@singhsegv
Copy link

singhsegv commented Apr 24, 2024

The install-packages node: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.28' not found (required by node) issue arises from node 18 and above requiring GLIBC_2.28 and above. So if you don't want the latest nodejs version, you can change the RUN npm install -g n && n 16.20.0 && hash -r in ow-utils Dockerfile to something like RUN npm install -g n && n 16.20.0 && hash -r or any lower version and that should do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants