NPM 拒绝安装 Semantic-UI

NPM refusing to install Semantic-UI

我无法安装 Semantic-UI 并出现此错误,

npm ERR! Linux 4.4.0-28-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "semantic-ui" "--save"
npm ERR! node v5.12.0
npm ERR! npm  v3.8.6
npm ERR! code ENOSELF
npm ERR! Refusing to install semantic-ui as a dependency of itself

你的 package.json 文件的名称属性是 "semantic-ui" 吗?如果是,请将其更改为不是包依赖项名称的其他名称。

此外,在 "ENOSELF" 上快速 Google 搜索发现了这个 - https://github.com/npm/npm/issues/12884