Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5944

nodejs is installed in wsl ubuntu but 'node--version' shows 'No such file or directory'

$
0
0

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


Viewing all articles
Browse latest Browse all 5944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>