鸿蒙报错Compile error occurred. Fix it based on the above message.
当我在鸿蒙pages里面把一个模块删除之后,打开其他的模块出错,Previewer failed, not suppport or compile error,右边Previewer爆红。
在搜了好多帖子之后还是没用,结果在resources->config.json里发现爆红,把爆红语句删除后好了。
原因是在删除模块时config.json里面没有同步删除。
当我在鸿蒙pages里面把一个模块删除之后,打开其他的模块出错,Previewer failed, not suppport or compile error,右边Previewer爆红。
在搜了好多帖子之后还是没用,结果在resources->config.json里发现爆红,把爆红语句删除后好了。
原因是在删除模块时config.json里面没有同步删除。