当前位置:   article > 正文

Error: The project seems to require yarn but it‘s not installed.

Error: The project seems to require yarn but it‘s not installed.

在使用yarn serve启动vue2项目是发生报错信息

报错信息:

 解决方法:

1、 红色箭头行,ctrl+单击 进入env.js文件

2、注释行 

if (result && !exports.hasYarn()) throw new Error(`The project seems to require yarn but it's not installed.`)

重新运行:

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/496298
推荐阅读
相关标签
  

闽ICP备14008679号