Posts with the tag npm:

How to fix dyld: Library not loaded: /usr/local/opt/ icu4c/lib/ libicui18n.60.dylib ?

Use [Homebrew] to uninstall node and icu4c like this. brew uninstall --ignore-dependencies node icu4c Then install node.js like this. brew install node If the problem persists and the error kept occuring, try running this command. brew link --overwrite node If the issue resists again, try upgrading node instead of reinstalling it. So use this command: brew upgrade node Want to watch how to fix it in a video ? watch it here on YouTube. If one of those works for you, share this post with your friends.

Useful npm Packages for All Projects

date-fns date-fns (a.k.a Date Functions) is a library which gives you functions to deal with dates. It is great package with a small size. dotenv dotenv create a .env file to store your environment variables. So when you publish that project online you use the environment variables which you deploy the project on. Help you use the sockets to create realtime communications such as chat apps. UUID Help you create a universal unique identifier (UUID) with one line of code. axios Axios is an alternative to fetch. Axios help you make requests easier than fetch and AJAX. classnames Help you with class names in CSS with Javascript manipulations.