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

great_expectations_action build docker image is failing with incompatible Node.js version #79

Open
sravantit25 opened this issue May 9, 2022 · 1 comment

Comments

@sravantit25
Copy link
Contributor

I am trying to use great_expectations_action to run a simple checkpoint. I found that the action is failing while building Docker image.
The error is:

Step 1/9 : FROM greatexpectations/great_expectations:python-3.7-buster-ge-0.12.0
---> e5c5ee9ede63
Step 2/9 : RUN apt-get update && apt-get install curl nodejs -y
---> Using cache
---> ecb9bf2e6646
Step 3/9 : RUN curl -L https://npmjs.org/install.sh | bash
---> Running in c749f0012987
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 3755 100 3755 0 0 17224 0 --:--:-- --:--:-- --:--:-- 17224
**fetching: https://registry.npmjs.org/npm/-/npm-8.9.0.tgz
removing existing npm
ERROR: npm is known not to run on Node.js v10.24.0
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/
failed!
The command '/bin/sh -c curl -L https://npmjs.org/install.sh | bash' returned a non-zero code: 1

Error: Docker build failed with exit code 1**

ge_action_error_msg_summary

ge_action_error_msg_detail

@sravantit25
Copy link
Contributor Author

I fixed this issue by upgrading Node.js to the latest LTS version.

PR: #80

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

1 participant