Update README.md

Update "Installing npm packages" for installing package global and local and including a solution in case of an error.