Skip to content

Multiple Syntax Errors and Unknown Option Errors for seemingly valid syntax/options #29

Open

Description

@stevenj

I am getting multiple syntax errors and unknown option errors for the Earthfiles in this repo:
https://github.com/input-output-hk/catalyst-voices

catalyst_voices/Earthfile
Syntax Errors on Lines 20,21:

    LET gen_code_path  = lib/generated/catalyst_gateway
    LET local_gen_code_path = packages/catalyst_voices_services/lib/generated/catalyst_gateway/

catalyst_voices/test_driver/Earthfile Lines 10,12, 16:

    LET driver_port = 4444

    IF [ $browser = "chrome" ]
        LET driver = "chromedriver"
    END

    IF [ $browser = "firefox" ]
        LET driver = "geckodriver"
    END

catalyst-gateway-crates/c509-certificate/Earthfile Line 35:

#     SAVE ARTIFACT c509-certificate-binding AS LOCAL ./pkg

catalyst-gateway/event-db/Earthfile Line 41, Unknown Option:

        SAVE IMAGE --push --insecure $local_registry/event-db:latest

docs/Earthfile Line 51, Unknown Option:

        SAVE IMAGE --push --insecure $local_registry/cat-voices-docs:latest

These last two, the option it complains about is --insecure which is a valid option. See: https://docs.earthly.dev/docs/guides/configuring-registries/self-signed#insecure-registries

Activity

  1. stevenj commented on Nov 1, 2024

    @stevenj
    Author

    Is this language server still maintained?

  2. glehmann commented on Nov 1, 2024

    @glehmann
    Owner

    Is this language server still maintained?

    yes, I had to take a break but will be back to it next week. Contributions are more than welcome :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions