Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: cannot read OpenAPI schema version in built app #11

Open
captchanjack opened this issue May 10, 2024 · 1 comment
Open

Bug: cannot read OpenAPI schema version in built app #11

captchanjack opened this issue May 10, 2024 · 1 comment

Comments

@captchanjack
Copy link

Hey, I'm trying to run a web app built with Oxygen.jl and documented with SwaggerMarkdown.jl

the packagecompile.jl script i have looks something like this:

using Pkg
Pkg.activate(@__DIR__)
Pkg.instantiate()

using PackageCompiler
create_app(
    dirname(@__DIR__), 
    "LinearSystemsCompiled";
    precompile_execution_file=joinpath(@__DIR__, "precompile.jl"),
    incremental=true,
    force=true,
    cpu_target="x86_64",
)

Problem is once compiled the pathing points to a package that doesn't exist in a docker image
image

Happens on this line of code:
image

Any ideas on a fix?

@jonschumacher
Copy link
Contributor

Do you have a MWE that triggers the error? I would like to do the same thing and could look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants