Node: Error While Loading Shared Libraries: Libicui18N. So.62: Cannot Open Shared Object File: No Such File or Directory

Node: Error While Loading Shared Libraries: Libicui18N. So.62: Cannot Open Shared Object File: No Such File or Directory

I just updated my ubuntu version recently and i keep getting this error whenever i run any node or npm command. :

node: error while loading shared libraries: libicui18n.so.62: cannot open shared object file: No such file or directory

Any help? this seems to be very recent and Ive spent a lot of time trying to figure this out.

5

1 Answer

Okay, to anyone who might encounter this.

sudo apt-get purge --auto-remove nodejs

and reinstalling did not work, because I had installed it using linuxbrew. So if you used linuxbrew during the install,

brew uninstall node
brew install node

works. This seems to have been caused due to a recent OS update(ubuntu), and this fixed it for me.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Marcus Vance
Author

Marcus Vance

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.