直接报错了:Refusing to install package with name "codemirror" under a package

前言

  安装codeMirror,报错了

报错信息:Refusing to install package with name "codemirror" under a package

原因分析:安装包名跟package.json name 一样。所以报错了

解决方案:在package.json中修改名字

  

  

原文地址:https://www.cnblogs.com/ifannie/p/12792930.html