【发布时间】:2019-12-07 04:27:12
【问题描述】:
我正在尝试使用此链接作为构建通知系统的参考:
https://github.com/jacob-meacham/angular-notification-icons
第一步是运行:
npm install angular-notification-icons --save
我不确定运行它需要什么路径?我尝试在我的项目路径中运行它,但出现此错误:
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "angular-notification-icons" under a package
npm ERR! also called "angular-notification-icons". Did you name your project the same
npm ERR! as the dependency you're installing?
npm ERR!
【问题讨论】:
-
你的项目名称是什么。
-
你应该在你的项目根路径中运行它