how to fix Errors during downloading metadata for repository 'appstream' in CentOS8 - centos8

i want to use command "yum -y update" but got this error, can anyone help me? thanks!
enter image description here

Related

npm install on VueJS

I am trying to install this script. I am trying to run npm install command. But this is not working. This is stuck after message idealTree:color-convert: timing idealTree:node_modules/c.
Could anyone help me to install this script ?
I tried it myself and had the same issue.
There might be an issue on the author's end or with some dependency.
Try contacting the author of the package to investigate the issue.
You can create an issue here: https://github.com/creativetimofficial/vue-notus/issues
nice you can delete your node modules and try again...
or you can try npm cache clean
if both fails you can try yarn...

Unable to run dev- server (npm)

For some reason i cant launch npm run dev-server
Please notice that i'm sudo
If someone have a solution to solve this problem please, let me know.
Edit : Does someone know where is this .sh ?

Script xpccachectl not found

I'm trying to run script to clear cache:
sudo /usr/libexec/xpccachectl
But system cannot find it with following error:
sudo: /usr/libexec/xpccachectl: command not found
System: macOS 10.13.2.
Maybe anybody solved this issue?
The commandline way to install required components is:
/Applications/Xcode.app/Contents/MacOS/Xcode -installComponents

Installing specific node version using NVM gives an error

I want to install node v6.10.3. but when I tried to install it gives the following error. What causes this error?
creating .\config.gypi
creating .\config.mk
bash: make: command not found
nvm: install v6.10.3 failed!
(nvm maintainer here) Could you file this on http://nvm.sh, and fill out the issue template? This kind of question is more appropriate for the repo than for SO.

Less installation failed with npm proxy error

i want to use less file, i find many tutorials in internet, and i have a bug with the installation of less. The command invit (Windows) do what you see in the picture. I try to config the proxy with command in stackoverflow similars questions but it's not works.
Thanks
enter image description here
You can change the address of registry. For example:
npm config set registry https://registry.npm.taobao.org
then enter
npm install less -g