[解决方案]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中修改名字

  

  

 

posted @ 2020-04-28 11:29  FannieGirl  阅读(1310)  评论(0编辑  收藏  举报