Comments (11)
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.
I got the same error... i'm using ubuntu 11.10 by the way....
from devkit.
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.
Ok! Thanks for your quick reply! I'm gonna install ubuntu 12.10 to test!
from devkit.
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.
@sirgallifrey : If you find a solution for this problem, please post here. I have same issue.
from devkit.
@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.
Thanks @walkhard -- Will be pulling those changes in to the next release =)
from devkit.
@chris-gc no problem, I'm glad I could help.
from devkit.
i'm gonna try this out! thanks @walkhard !
from devkit.
Worked like a charm! Great work walkhard!
from devkit.
Related Issues (20)
- Web simulators are not opened the output. HOT 3
- Splash screen autoHide option is not working
- Close button image missing in simulator device change dialog HOT 1
- .DS_Store breaks a game from loading
- simulator show black screen HOT 4
- old devkit-core causes error on build
- npm install breaks remoteDeviceWidget on jsio-staging on JSIO
- ScrollView documentation mixes up "useLayoutBounds" and "useContentBounds" (I think) HOT 1
- Simulator Scrollbars HOT 1
- Git exited unexpectedly while installing a module, Ubuntu 16.04 no dependecies HOT 1
- F1 A6 Profile
- cannot add to dependencies using git
- devkit init fails
- Devkit strange behavior with jsio
- Is the project active? HOT 1
- Not able to run the native-ios build on xcode
- npm install -g devkit on windows HOT 1
- Update Instructions on Native Android Build
- ReferenceError: GLOBAL is not defined HOT 1
- pi as target
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devkit.