鸿蒙报错Compile error occurred. Fix it based on the above message.

慈云数据 12个月前 (04-02) 技术支持 86 0

当我在鸿蒙pages里面把一个模块删除之后,打开其他的模块出错,Previewer failed, not suppport or Compile error,右边Previewer爆红。

在搜了多帖子之后还是没用,结果在resources->;config.json里发现爆红,把爆红语句删除后好了。

原因是在删除模块时config.json里面没有同步删除。

微信扫一扫加客服

微信扫一扫加客服

点击启动AI问答
Draggable Icon