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

Metals Not Loading Correctly for Project #94

Open
sdrafahl opened this issue Apr 6, 2023 · 1 comment
Open

Metals Not Loading Correctly for Project #94

sdrafahl opened this issue Apr 6, 2023 · 1 comment

Comments

@sdrafahl
Copy link

sdrafahl commented Apr 6, 2023

Describe the bug
Today Metals is having problems trying to connect to a local project.

I created a brand new Scala 2.13 project and Metals is failing to load the project. I posted below errors.

It seems it doesn't produce a bloop file. I tried using VS Code with Metals and it does work for the same project so I believe its an Emacs issue.

This started happening today.

To Reproduce
Create a brand new Scala 2.13 and try to build import. Emacs 28.1.

Expected behavior
The Metals should produce a bloop file and load the project.

Logs

2023.04.06 14:28:50 ERROR Empty build targets. Expected at least one build target identifier.
2023.04.06 14:28:50 ERROR Empty build targets. Expected at least one build target identifier.
2023.04.06 14:28:50 ERROR Empty build targets. Expected at least one build target identifier.
2023.04.06 14:28:50 ERROR Empty build targets. Expected at least one build target identifier.
2023.04.06 14:28:52 INFO  time: indexed workspace in 1.37s
2023.04.06 14:28:52 WARN  no build target for: /Users/shane.drafahl/test123/src/main/scala/example/Hello.scala
2023.04.06 14:28:52 WARN  no build target for: /Users/shane.drafahl/test123/src/main/scala/example/Hello.scala
@kurnevsky
Copy link
Member

I don't think this has anything to do with lsp-metals. This looks like an error from metals iteslf.

This started happening today.

Have you tried to install earlier version?

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