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

Add troubleshooting file #79

Closed
wants to merge 4 commits into from
Closed

Conversation

lambdina
Copy link
Collaborator

No description provided.

@lambdina lambdina closed this May 20, 2022
@lambdina lambdina reopened this May 20, 2022
</details>


* Make sure you have the same error even when you remove the main and just keep your module declaration and the requirements. (the (ns ..) part).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather have people reinit their project correctly.

flutter:
sdk: flutter
```
> :bulb: In my case, I forgotten to add the `:` to the keyword `:as` to one of my requirements statements.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 but avoid using the 1st person in this document, it's not your dev diary.

{:clojure.main/message
"Execution error at cljd.compiler/load-libs-info (compiler.cljc:126).\nEOF while reading\n",
:clojure.main/triage
{:clojure.error/class java.lang.RuntimeException,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rest of the stack trace can be elided

* When capturing the content of `./clojuredart/libs-info.edn` you shouldn't have one single line.
It may due to a wrong initialization of the project (`clj -M -m cljd.build init --dart folder.example` instead of simply `clj -M -m cljd.build init folder.example`)

> :bulb: You can restart the project the right way
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Describe how to do that


> :bulb: You can restart the project the right way

> :bulb: Or, you can add content at `./clojuredart/libs-info.edn` by redirecting the output of `./clojuredart/analyzer.dart` to `./clojuredart/libs-info.edn`, by doing:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better keep it a trade secret 😉

@lambdina lambdina closed this May 23, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants