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.

Buckaroo install failing

See original GitHub issue

Hi,

I just installed Buckaroo (via Homebrew) and I’m trying to use it in a new project. When I try to add a dependency, it’s throwing JsonSyntaxException and failing.

OS: Mac 10.12.3 Buckaroo Version: 0.1.0

Steps to reproduce:

> mkdir test
> cd test
> buckaroo init
What is the name of your project? 
> test
Creating buckaroo.json... 
Done. 
> buckaroo install boost/thread
Adding dependency on boost/thread...
Could not read the config. 
java.io.IOException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 8 column 2 path $.cookBooks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
njlrcommented, Jun 30, 2017

@FictionIO I was unable to reproduce this issue on a clean install.

As @ar90n suggested, it looks like your config file is invalid. There isn’t much to this file, so I would suggest fixing it manually.

After running an install, try copying the below into ~/.buckaroo/config.json:

{
  "cookBooks": [
    {
      "name": "buckaroo-recipes",
      "url": "git@github.com:loopperfect/buckaroo-recipes.git"
    }
  ],
  "analytics": "https://logging-nikhedonia.rhcloud.com/:80"
}
1reaction
ar90ncommented, Jun 30, 2017

Hi

I think it is odd because buckaroo works correctly in my environment like yours. It seems that your log shows that buckaroo fails to parse config file. So it might turn out well by removing $HOME/.buckaroo directory and reruning install.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to install dependency from GitHub · Issue #141
Tried with buckaroo install github+loopperfect/neither and with my own library. Expected Behavior. Successful installation of dependency. Actual Behavior.
Read more >
Installation
Buckaroo is shipped as a self-contained executable, so all you need to do is download the bundle from the releases page. Linux. $...
Read more >
How to Fix buckaroo bandits by buckaroo bandits App Not ...
2. The buckaroo bandits by buckaroo bandits app server could be down the server is offline. This could happen due to power outages...
Read more >
XFENCE Installation Failure
the error message "Kext rejected due to system policy" means that the kernel extension hasn't been approved by the computer's administrator ( ...
Read more >
Buckaroo C++ Package Manager Reaches v2.0.0 : r/cpp
Buckaroo has a package cache and the underlying build-system solves the problem of accelerating the build using caches.
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