Darshan Puranik Darshan Puranik - 1 year ago 170
AngularJS Question

Error while installing Underscore typings

I am trying to install Underscore typings but getting error

Unable to find "underscore" ("npm") in the registry. Did you want to try searching another source? Also, if you want contribute these typings, please help us: https://github.com/typings/registry

I have tried different switches based on my research and solutions provided by others as you can see in image.

enter image description here
Please let me know if I am doing something wrong.

Answer Source

The core issue was a permission issue on my Mac. Your user account need to own your npm install directory.

Then you can run the command:

typings install dt~underscore --global --save

You should not see any more errors.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download