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

Cumulus install failed #3438

Open
zhudayong1987 opened this issue Jul 20, 2023 · 4 comments
Open

Cumulus install failed #3438

zhudayong1987 opened this issue Jul 20, 2023 · 4 comments

Comments

@zhudayong1987
Copy link

when I use "npm run bootstrap" install cumulus, I get below error

webpack 5.88.2 compiled with 2 warnings in 11954 ms
lerna ERR! npm run package exited 137 in '@cumulus/db-provision-user-database-lambda'
lerna ERR! npm run package stdout:

@cumulus/[email protected] package
npm run clean && npm run tsc && npm run webpack && (cd dist/webpack && zip lambda.zip index.js)

@cumulus/[email protected] clean
rm -rf dist

@cumulus/[email protected] tsc
../../node_modules/.bin/tsc

@cumulus/[email protected] webpack
../../node_modules/.bin/webpack

lerna ERR! npm run package stderr:
sh: line 1: 8508 Killed npm run webpack
lerna ERR! npm run package exited 137 in '@cumulus/db-provision-user-database-lambda'
lerna WARN complete Waiting for 4 child processes to exit. CTRL-C to exit immediately.

@zhudayong1987
Copy link
Author

I use centos7,and node v16.19.0

@etcart
Copy link
Contributor

etcart commented Jul 31, 2023

working on recreating and investigating

@etcart
Copy link
Contributor

etcart commented Jul 31, 2023

I've been unable to recreate this issue as such, although I have encountered issues installing cumulus on centos7, centered around python versioning. can we meet up to discuss this further? I'd like to get more details on your environment to help debug this

@zhudayong1987
Copy link
Author

I used the following command to run it in the vmware virtual machine

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.bashrc
nvm install 16.19.0
nvm use 16.19.0
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
./aws/install -i /usr/local/aws-cli -b /usr/local/bin
aws --version
aws configure
yum -y install openssl-devel zlib-devel gcc
mkdir /usr/local/python3
wget https://www.python.org/ftp/python/3.7.14/Python-3.7.14.tgz
tar -xvf Python-3.7.14.tgz
cd Python-3.7.14/
./configure --enable-shared --prefix=/usr/local/python3
make -j4
make install
sudo ldconfig /usr/local/python3/lib
ln -s /usr/local/python3/bin/python3 /usr/bin/python3
ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3
pip3 install pipenv
yum install -y docker
systemctl stop firewalld
systemctl disable firewalld
systemctl status firewalld
systemctl start docker
pip3 install -y docker-compose
npm install -g [email protected]
npm install -g lerna
yum install -y git
git clone https://github.com/nasa/cumulus.git
cd cumulus/
mv /usr/bin/python /usr/bin/python_old
mv /usr/bin/python3 /usr/bin/python
npm install
npm run bootstrap

But I still get the following error

[root@localhost cumulus]# npm run bootstrap

@cumulus/[email protected] bootstrap
lerna bootstrap --no-ci --force-local && npm run package && git rev-parse --short HEAD > .bootstrapSha

lerna notice cli v5.6.2
lerna info Bootstrapping 70 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna info lifecycle @cumulus/[email protected]~prepublish: @cumulus/[email protected]

@cumulus/[email protected] prepublish /home/zdy/Desktop/cumulus/tf-modules/ingest
node scripts/write-cumulus-version.js

(##################) ⠧ prepublish: sill lifecycle No script for "prepublish" in "@cumulus/cumulus-integration-te
lerna info lifecycle @cumulus/[email protected]~prepare: @cumulus/[email protected]

@cumulus/[email protected] prepare /home/zdy/Desktop/cumulus/example/lambdas/python-processing
npm run build

lerna info lifecycle @cumulus/[email protected]~prepare: @cumulus/[email protected]

@cumulus/[email protected] prepare /home/zdy/Desktop/cumulus/example/lambdas/python-reference-activity
npm run build

lerna info lifecycle @cumulus/[email protected]~prepare: @cumulus/[email protected]

@cumulus/[email protected] prepare /home/zdy/Desktop/cumulus/example/lambdas/python-reference-task
npm run build

lerna info lifecycle @cumulus/[email protected]~prepare: @cumulus/[email protected]

@cumulus/[email protected] prepare /home/zdy/Desktop/cumulus/example/scripts/lib
true

lerna ERR! lifecycle "prepare" errored in "@cumulus/python-process-activity", exiting 127
lerna info lifecycle @cumulus/[email protected]~prepare: @cumulus/[email protected]

@cumulus/[email protected] prepare /home/zdy/Desktop/cumulus/packages/checksum
npm run tsc

What is the problem?

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

2 participants