Installed Nodejs using brew commands, which installed the node, but node commands are not running. The result is always:'node: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory'.
pradhyumn_32@HPVictus:~/ic-projects/hello$ nvm --version0.39.7pradhyumn_32@HPVictus:~/ic-projects/hello$ nvm install nodev21.7.1 is already installed.Now using node v21.7.1pradhyumn_32@HPVictus:~/ic-projects/hello$ node --versionnode: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directorypradhyumn_32@HPVictus:~/ic-projects/hello$ nodenode: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directorypradhyumn_32@HPVictus:~/ic-projects/hello$ npmnode: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory
I tried removing and reinstalling but it didn't work. I searched all over but couldn't find any solution. I also tried following command from github:export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm