方法一: 方法二:(配置文件:idea里的modules.xml损坏) !!!关闭当前项目 1.删除webStorm的配置文件夹idea 2.重新打开该项目 转载于:https://www.cnblogs.com/yan0802/p/8494505.html