How to update rabbitMQ with kerl management of erlang versions - rabbitmq

I have an pet project with using RabbitMQ 3.8.2
After some time I found that I can't connect to RabbitMQ CLI on 127.0.0.1:15672
I installed kerl for managing erlang versions, and then installed and activated erlang 25.0
I made attempt to update RabbitMQ with command
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.deb.sh | sudo bash
from https://packagecloud.io/rabbitmq/rabbitmq-server/install
After I run command
apt-get install rabbitmq-server=3.11.4-1
But I got next error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
rabbitmq-server : Depends: erlang-base (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
erlang-base-hipe (>= 1:21.3) but it is not going to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-crypto (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-eldap (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-inets (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-mnesia (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-os-mon (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-parsetools (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-public-key (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-runtime-tools (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-ssl (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-syntax-tools (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-tools (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
Depends: erlang-xmerl (>= 1:21.3) but 1:20.2.2+dfsg-1ubuntu2 is to be installed or
esl-erlang (>= 1:21.3) but it is not installable
E: Unable to correct problems, you have held broken packages.
I have tried advices from this cases
Unable to install rabbitmq due to incorrect versions of erlang dependencies
https://askubuntu.com/questions/1188699/rabbitmq-packages-have-unmet-dependencies
with the exception of erlang updating, because I have activated erlang 25.0 version with kerl.
Error always the same.

Related

node-sass compatibilite problemes to compile

I tried to install node-sass but nothing work
node-sass#4.14.1 not be installed and I install the node-sass#6
my node version is : v16.17.1
my npm version is : 8.19.2
./src/Components/Categories/categories.scss (./node_modules/css-loader??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/lib/loader.js??ref--6-oneOf-5-3!./src/Components/Categories/categories.scss)
Error: Node Sass version 7.0.3 is incompatible with ^4.0.0.

how to upgrade react-native-cli?

Check current react native CLI version
react-native -v
react-native-cli: 1.0.0
react-native: 0.61.5
I use the following commands to upgrade global react-native-cli verison
npm uninstall -g react-native-cli
npm install -g react-native-cli
but now check current react native cli version, it's still v1.0.0
react-native -v
react-native-cli: 1.0.0
react-native: 0.61.5
How to upgrade the react-native-cli?
🍺 The Homebrew way🍺
Remove globally first if needed
npm uninstall -g react-native-cli
or
yarn remove react-native-cli
Install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install it with brew
brew install react-native-cli
Upgrade in future
brew upgrade react-native-cli
Since you are using react-native 0.61.5 you need to install react-native-cli version 3.0.0 or above according to Compatibility of React Native CLI.
If you have already installed a version of react-native CLI, uninstall it using
npm uninstall -g react-native-cli
Then try to install react-native CLI as below,
npm install react-native-cli#3.0.0
Hope this will help you.
Note:
This may not work with react-native-cli version 4.0.0 or above.

why #angular-devkit/build-angular doesn't install webpack?

I have added latest version of #angular-devkit/build-angular in package.json and did npm install ,it should install webpack as well ,as a peer dependency but its not installing ,its throwing a warning explicitly to install webpack when I do npm install.I can explicitly install the module but I want that to happen from #angular-devkit/build-angular itself. what could be the reason?

trying to install react-native-drawer but get errors

I'm trying to add react-native-drawer to my project.
but when I run:
npm install --save react-native-drawer
I get:
├── UNMET PEER DEPENDENCY react-native#0.41.1
└── react-native-drawer#2.3.0
npm WARN rn-drawer#1.1.3 requires a peer of react-native#^0.4.0 but none was installed.
I tried several actions people recommended like erasing my node_modules directory, or upgrading npm to the latest, or trying to install this module in a different project, but nothing helped. I can hardly believe that what is being implied here is that I simply have a version of react-native too new for this module.
my react native version is:
react-native-cli: 1.3.0
react-native: 0.41.1
my npm version is: 4.3.0
thanks!
It looks like you accidentally installed rn-drawer on your
package.json.
Just run:
npm uninstall --save rn-drawer

Nodejs is installed but not NPM

I have installed nodejs on ubuntu 15.10 :
sudo apt-get install nodejs
npm should come with nodejs but when I do npm -v, it says that it is not installed.
So I have tried to install it :
sudo apt-get install npm
but I am getting :
The following packages have unmet dependencies: npm : Depends: nodejs
but it is not going to be installed
Depends: nodejs-dev
Depends: node-request but it is not going to be installed
Depends: node-mkdirp but it is not going to be installed
Depends: node-minimatch but it is not going to be installed
Depends: node-semver but it is not going to be installed
Depends: node-ini but it is not going to be installed
Depends: node-graceful-fs but it is not going to be installed
Depends: node-abbrev but it is not going to be installed
Depends: node-nopt but it is not going to be installed
Depends: node-fstream but it is not going to be installed
Depends: node-rimraf but it is not going to be installed
Depends: node-tar but it is not going to be installed
Depends: node-which but it is not going to be installed E: Unable to correct problems, you have held broken packages.
If anyone knows how to solve this,...
Thank you
Can you try to
sudo apt-get install --reinstall nodejs
and post any errors and/or version of nodejs after reinstall.