Can't start atlasboard on Ubuntu

Issue #63 resolved
Neville Franks created an issue

I've installed atlasboard but don't see an "OK" message at the end of the install. The last lines I see are:

pg@1.1.0 install /usr/lib/node_modules/atlasboard/node_modules/pg node-gyp rebuild || (exit 0)

When I run atlasboard I get: -bash: atlasboard: command not found

Comments (5)

  1. Iván Loire

    Please could you install it using the npm verbose loglevel and post the relevant lines?

    sudo npm install --loglevel verbose -g atlasboard
    

    Thanks

  2. Jan Stamer

    I had the same issue. The problem is that the atlasboard cli.js is not in the path. Just create a link like:

    ln -s /usr/local/node/node-v0.10.26/lib/node_modules/atlasboard/lib/cli/cli.js /usr/local/bin/atlasboard
    

    I think the root cause of that problem is in the package.json where the script should be linked as a binary.

  3. Iván Loire

    Thanks for your comment @remast. I am inclined to think that having

     "bin": {
        "atlasboard": "lib/cli/cli.js"
      },
    

    instead of

    "bin": { "atlasboard": "./lib/cli/cli.js" }, ``` is causing the issue. I will change this for the next release.

    Thanks

  4. Log in to comment