question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot bootstrap metals snapshot: Malformed dependency

See original GitHub issue

With coursier 1.1.0-M13-2

coursier bootstrap \
  --java-opt -XX:+UseG1GC \
  --java-opt -XX:+UseStringDeduplication  \
  --java-opt -Xss4m \
  --java-opt -Xms100m \
  --java-opt -Dmetals.client=sublime \
  org.scalameta:metals_2.12:0.4.4+120-d43ef03c-SNAPSHOT \
  -r sonatype:snapshots \
  -o ./metals-sublime-snapshot -f
Cannot parse dependencies:
  Malformed dependency:  
--java-opt: command not found

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
alexarchambaultcommented, May 24, 2019

Closing this for now. Is the issue really on the coursier side?

0reactions
MasseGuillaumecommented, Apr 2, 2019

I found the issue, whitespaces between java-opt triggers this bug. If I remove the whitespace, I’m good to go.

Read more comments on GitHub >

github_iconTop Results From Across the Web

i can't solve maven building error failure - Stack Overflow
I have fixed this issue by deleting local .m2/repository folder. The build is successful now.
Read more >
scalameta/metals - Gitter
I'm using cntlm to avoid authentication problems with sbt, I've configured -Dhttps.proxyHost=… -Dhttps.proxyPort=… with corresponding values in "Server ...
Read more >
sysdiglabs/secure-for-cloud/aws | Terraform Registry
This module version (0.8.2) has no root configuration. A module with no root configuration cannot be used directly. Use the submodules dropdown ...
Read more >
Kafka 3.3 Documentation
Apache Kafka: A Distributed Streaming Platform.
Read more >
OpenShift Container Platform 4.11 release notes
OpenShift Container Platform layered and dependent component support and compatibility ... Troubleshooting bootstrap failures during installation on AWS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found