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

ubuntu 20.04 cannot install galaxy through "sh run.sh" #19375

Open
mugpeng opened this issue Jan 4, 2025 · 5 comments
Open

ubuntu 20.04 cannot install galaxy through "sh run.sh" #19375

mugpeng opened this issue Jan 4, 2025 · 5 comments

Comments

@mugpeng
Copy link

mugpeng commented Jan 4, 2025

Describe the bug
ubuntu cannot install galaxy through "sh run.sh"

Galaxy Version and/or server at which you observed the bug
Galaxy Version: https://github.com/galaxyproject/galaxy/releases/tag/v24.1.3

reproduce
after running sh run.sh, the script create venv and conda galaxy , then at the yarn install stage, it produces:
image

first I try to ignore this error by:
yarn config set ignore-engines true

but at yarn run build step, it always produce:
image

After several attempts like remove node_modules and yarn.locks, clean conda... it still failed.

I recheck the bugs and suppose the failed webpack compile may caused by the wrong node engines.

I reset:
yarn config set ignore-engines false
And degrade node version first, but new error output:
image

So I think it is better to improve @cerner/[email protected]:, and I run:
npm install duplicate-package-checker-webpack-plugin@latest --save-dev, but this time error again:
image

Then I try to run in force mode but it's stuck:
image

other info
MY os:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

Thank you so much.

@bgruening
Copy link
Member

Hi @mugpeng! Which version of nodejs are you using? Try to use a more recent version.

@mugpeng
Copy link
Author

mugpeng commented Jan 4, 2025

Hi. my node version:

$ node --version
v18.12.1

@itisAliRH
Copy link
Member

Hi @mugpeng! I'm using the same node version and just cleaned and reinstalled all the packages without such errors. Although the @cerner/duplicate-package-checker-webpack-plugin is archived and is not getting an update since around a year ago, but can be installed with new node versions (v18.20.3 and v20.18.1) with the below warning:
image

first I try to ignore this error by: yarn config set ignore-engines true

but at yarn run build step, it always produce: image

After several attempts like remove node_modules and yarn.locks, clean conda... it still failed.

I recheck the bugs and suppose the failed webpack compile may caused by the wrong node engines.

I reset: yarn config set ignore-engines false And degrade node version first, but new error output: image

Please try this:

yarn install --ignore-engines --force

So I think it is better to improve @cerner/[email protected]:, and I run: npm install duplicate-package-checker-webpack-plugin@latest --save-dev, but this time error again: image

Then I try to run in force mode but it's stuck: image

Galaxy does not use this package. @cerner/duplicate-package-checker-webpack-plugin and duplicate-package-checker-webpack-plugin are not the same.

@mugpeng
Copy link
Author

mugpeng commented Jan 5, 2025

Thank you @itisAliRH and @bgruening .
I used the same command to install:
image

Then I set yarn config set ignore-engines true, I used both v18 and v20 node are all failed for yarn run build

$ node --version
v20.17.0
image

The same error as before.

@mugpeng
Copy link
Author

mugpeng commented Jan 7, 2025

I have given up and choose docker to run it. :(
Happily, docker is well.

@martenson martenson changed the title ubuntu cannot install galaxy through "sh run.sh" ubuntu 20.04 cannot install galaxy through "sh run.sh" Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants