PackageCompiler help


I have issue with package compiler.

When I use Julia 1.8.5, and PackageCompiler 2.1.5 & PackageCompiler 2.1.2, I get following error on same machine:

┌ Warning: Error requiring StaticArrays from StaticArrayInterface
│ exception =
│ LoadError: ArgumentError: Package StaticArrayInterface does not have Static in its dependencies:
│ - If you have StaticArrayInterface checked out for development and have
│ added Static as a dependency but haven’t updated your primary
│ environment’s manifest file, try Pkg.resolve().
│ - Otherwise you may need to report an issue with StaticArrayInterface

When I use Julia 1.9.0-rc-1, and PackageCompiler 2.1.5, I get following error on another machine:
ERROR: Unable to find compatible target in system image.

I have been trying to solve this all day. Any suggestions?

Thank you