npm i element-ui –S 安装失败 错误信息如下

npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "–-save": Tags may not have any characters that encodeURIComponent encodes.

使用这个命令成功安装npm install --save element-ui

相关文章: