Giter Site home page Giter Site logo

Comments (11)

chris-gc avatar chris-gc commented on May 28, 2024

Hello,

Linux support on some distros is still a little shaky. Would you please try editing your ./src/serve/index.js file around line 202:

    try {
        spawn("dns-sd", [
            "-P", "basil", "_tealeaf._tcp", "local",
            basePort, String(address), String(address), "basil"
        ]).on('exit', function (code) {
            if (code) {
                logger.error('(dns-sd exited with code ' + code + ")");
            }
        });
    } catch (ex) {
        logger.error("WARNING: Unable to find dns-sd in your path.  The Test App functionality will not work.");
    }

Just wrap that spawn() statement in a try catch and please check if that prevents it from dying on you.

Thanks for helping to support the devkit! -Chris

from devkit.

sirgallifrey avatar sirgallifrey commented on May 28, 2024

I got the same error... i'm using ubuntu 11.10 by the way....

from devkit.

chris-gc avatar chris-gc commented on May 28, 2024

Okay, thanks for trying that. We haven't fixed this yet, so I'm downloading an Ubuntu 11.10 VM image to look into it. Will keep this issue open for now until I resolve it.

from devkit.

sirgallifrey avatar sirgallifrey commented on May 28, 2024

Ok! Thanks for your quick reply! I'm gonna install ubuntu 12.10 to test!

from devkit.

chris-gc avatar chris-gc commented on May 28, 2024

I installed Ubuntu 11.10, with the apt-get version of git, a manually built version of node.js, and openjdk-6-jre package from apt-get, and basil serve does not crash with this error. I got a prompt during ./install.sh to run a sudo chown command which I just copy/pasted into the terminal.

Does your setup differ from this?

The problem you're having is probably that tealeaf-build-tools.jar didn't get downloaded during ./install.sh because the script didn't finish for some reason. Maybe re-running ./install.sh will fix it?

It would also be helpful if you could list the files under your devkit/lib folder to make sure the install script downloaded the tealeaf-build-tools.jar.

from devkit.

yottta avatar yottta commented on May 28, 2024

@sirgallifrey : If you find a solution for this problem, please post here. I have same issue.

from devkit.

zbma avatar zbma commented on May 28, 2024

@chris-gc I've fixed those issues here. Though I thought it'll shop up in here, not in new issue. I must've done something wrong.

from devkit.

chris-gc avatar chris-gc commented on May 28, 2024

Thanks @walkhard -- Will be pulling those changes in to the next release =)

from devkit.

zbma avatar zbma commented on May 28, 2024

@chris-gc no problem, I'm glad I could help.

from devkit.

sirgallifrey avatar sirgallifrey commented on May 28, 2024

i'm gonna try this out! thanks @walkhard !

from devkit.

sirgallifrey avatar sirgallifrey commented on May 28, 2024

Worked like a charm! Great work walkhard!

from devkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.