Custom Anim Node crash cooking

I create project containing the 2 module’s:

  1. AI_Fly - Runtime module
  2. AI_FlyEditor - Editor module

And i have custom Animation Node.
AnimNode located in Runtime module and AnimGraphNode located in Editor module.
When i’m try build my project, i have next cooking fatal error:

The structure, referred to in the attached error, located in AnimNodeGraph.
AnimNodeGraph, can not perform in Runtime module, because he contain UnreaEd module for Animation Blueprint Editor.

So how to avoid this cooking error?