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

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

Open
stevenj opened this issue Jul 11, 2024 · 2 comments

Comments

@stevenj
Copy link

stevenj commented Jul 11, 2024

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

@stevenj
Copy link
Author

stevenj commented Nov 1, 2024

Is this language server still maintained?

@glehmann
Copy link
Owner

glehmann commented Nov 1, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants