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

Failed to read the configuration file. Try to run the application with admin permission #12

Closed
sven-hergenhahn-dmtech opened this issue Dec 11, 2024 · 1 comment

Comments

@sven-hergenhahn-dmtech
Copy link

Hi,

I installed crowdin@4 as suggested.

/opt/homebrew/opt/crowdin@4/bin/crowdin -V
4.4.1

java --version
openjdk 23.0.1 2024-10-15
OpenJDK Runtime Environment Homebrew (build 23.0.1)
OpenJDK 64-Bit Server VM Homebrew (build 23.0.1, mixed mode, sharing)

but - in a directory with a valid crowdin.yaml file:

/opt/homebrew/opt/crowdin@4/bin/crowdin download sources
❌ Failed to read the configuration file. Try to run the application with admin permission
❌ class java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader 'bootstrap')

I have absolutely no idea what the problem might be here.

The directory has drwxr-xr-x and the crowdin file -rw-r--r-- which should IHMO be fine.

Running the docker image of crowdin works fine though:

docker run -ti --rm -v=$(pwd):/usr/crowdin-project crowdin/cli crowdin upload sources

@sven-hergenhahn-dmtech
Copy link
Author

This has most probably nothing to do with homebrew, I opened another issuer there: crowdin/crowdin-cli#873

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

1 participant