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

Error: No available modular metadata for modular package #8158

Open
yunbyte opened this issue May 27, 2020 · 4 comments
Open

Error: No available modular metadata for modular package #8158

yunbyte opened this issue May 27, 2020 · 4 comments

Comments

@yunbyte
Copy link

yunbyte commented May 27, 2020

CentOS8: sudo yum install yarn
The following error occurred:
Running transaction check
No available modular metadata for modular package 'nodejs-1:12.13.1-1.module_el8.1.0+278+76321dc4.x86_64', it cannot be installed on the system
No available modular metadata for modular package 'nodejs-docs-1:12.13.1-1.module_el8.1.0+278+76321dc4.noarch', it cannot be installed on the system
No available modular metadata for modular package 'npm-1:6.12.1-1.12.13.1.1.module_el8.1.0+278+76321dc4.x86_64', it cannot be installed on the system
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: No available modular metadata for modular package

@tclauzier
Copy link

tclauzier commented May 27, 2020

@yunbyte
Copy link
Author

yunbyte commented May 27, 2020

I haven't installed nodejs yet
Just follow this document to install the times error
https://classic.yarnpkg.com/en/docs/install#centos-stable

@tclauzier
Copy link

tclauzier commented May 27, 2020

Looks like something is going wrong in your package manager.
I haven't been able to reproduce your problem.
About node.js: yarn relies on it, and it will install it as a dependency if it does not exist on the system (your error message explains the install process hasn't been able to find it).

Maybe you should try to clean everything and try again:

  • make sure yarn is not installled dnf remove yarn
  • clean your cache dnf clean packages
  • make sure everything is up to date dnf update
  • try the installation process again

@yunbyte
Copy link
Author

yunbyte commented May 27, 2020

I have tried all these operations, but they are not working.

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