Image extension build OSGi error

Trying to build the extension-image for testing. I build and get the .lex file but a load through deploy or Admin installs but then I get “The OSGi Bundle with name [d] is not available locally” message when I try to use it.