Error running `serve`
See original GitHub issueI installed the Metriql CLI through docker: docker pull buremba/metriql:latest
Then, while in my dbt directory, ran the instructions on the installation page:
export DBT_PROJECT_DIR=${PWD}
export DBT_PROFILES_DIR=${HOME}/.dbt
export METRIQL_PORT=5656
docker run -it -p "${METRIQL_PORT}:5656" -v "${DBT_PROJECT_DIR}:/root/app" -v "${DBT_PROFILES_DIR}:/root/.dbt" -e METRIQL_RUN_HOST=0.0.0.0 -e DBT_PROJECT_DIR=/root/app buremba/metriql \
serve
I then get the following error:
Nov 03, 2021 11:36:01 AM ru.yandex.clickhouse.ClickHouseDriver <clinit>
INFO: Driver registered
Exception in thread "main" java.lang.IllegalAccessError: class com.metriql.Commands$Serve tried to access private method 'java.lang.String com.metriql.Commands.getProfilesContent()' (com.metriql.Commands$Serve and com.metriql.Commands are in unnamed module of loader 'app')
at com.metriql.Commands$Serve.access$getProfilesContent$s-537891160(Commands.kt:180)
at com.metriql.Commands$Serve.run(Commands.kt:232)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:198)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:211)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:18)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:395)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:392)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:410)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:435)
at com.metriql.ServiceStarterKt.main(ServiceStarter.kt:25)
Any idea on how to resolve this?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Facing error while running ng serve command - Stack Overflow
I am trying to run ng serve command for my project , i tried npm i command for many times, but it showing...
Read more >Error while running nx · Discussion #9325 · nrwl/nx - GitHub
Hi everyone, Can someone help me about below error i get while running 'nx serve' command ? i did not ever run "sudo"...
Read more >How to fix a server error in '/' application - IONOS
When exploring a solution to a “Server error in '/' application”, first ensure that you are using the correct file name.
Read more >Troubleshoot Tableau Server Install and Upgrade
Many Tableau Server issues can be addressed with some basic steps: Make sure there is enough disk space on each computer running Tableau...
Read more >error this command is not available when running the angular cli
The most common cause of the error is issuing the ng serve --open command while your terminal isn't located in the root directory...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@buremba Makes a lot of sense, thanks for looking into this!
Looks like the issue is stale. We fixed the issue some time ago.