Using npm, I'm having trouble installing angularjs version 1.5.7. My package has been prepared. The following is a json file.
When I run the following command in the terminal where my project is:
sudo npm install email@example.com --save
The following error notice appears:
npm ERR! Linux 4.4.0-24-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "firstname.lastname@example.org" "--save"
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! code ENOSELF
npm ERR! Refusing to install angular as a dependency of itself
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/nato/angular/npm-debug.log
This is my first time using npm to install angularjs, so I'm not sure what I'm doing wrong.