报错信息如下
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "–D": Tags may not have any characters that encodeURIComponent encodes.
解决步骤
先安装全局环境
npm install [email protected] [email protected] -g
在配置到package.json 开发环境中
npm install [email protected] [email protected] -D