Comments (10)
It looks like you don't have "make" installed - and the problem's actually with node-gyp
from johnny-five.
Thanks for the report!
microtime
is actually not being used, so I went ahead and removed it from the dependencies and republished to npm @ 0.2.3 - can you give it another try?
from johnny-five.
That was fast, but now I've got this:
Checking for program g++ or c++ : not found
/usr/local/lib/node_modules/johnny-five/node_modules/firmata/node_modules/serialport/serialport_native/wscript:9: error: could not configure a cxx compiler!
cp: build/Release/serialport_native.node: No such file or directory
npm http 200 https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.6.tgz
npm http 200 https://registry.npmjs.org/nodeunit/-/nodeunit-0.6.4.tgz
npm http 200 https://registry.npmjs.org/connect/-/connect-1.8.7.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-1.0.7.tgz
npm ERR! [email protected] install: `cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../`
npm ERR! `sh "-c" "cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "johnny-five" "-g"
npm ERR! cwd /Users/andreaskoberle
npm ERR! node -v v0.6.18
npm ERR! npm -v 1.1.21
npm ERR! code ELIFECYCLE
npm ERR! message [email protected] install: `cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../`
npm ERR! message `sh "-c" "cd serialport_native;node-waf configure build;cp build/Release/serialport_native.node ../"` failed with 1
npm ERR! errno {}
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.2.4.tgz
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/andreaskoberle/npm-debug.log
from johnny-five.
Ok, looks like @paultag was dead on - what platform are you on? I'm guessing OSX? Looks like there are a few system tools that are missing.
from johnny-five.
Yes I'm on OSX. Seems I've to install xcode (http://www.mac-forums.com/forums/os-x-development-darwin/268153-bash-make-command-not-found.html), not sure if there is an easier way.
from johnny-five.
If you're on Linux: sudo apt-get install build-essential
If you're on OSX: download and install xcode
from johnny-five.
Sorry, I was typing that while you had already replied. Agreed, there seems to be no easier way.
When I created the package, I had assumed that people interested in programming would have either build-essential or xcode - I apologize for the assumption and not documenting the requirements
from johnny-five.
Thanks for your help, I'll have a break and download xcode.
from johnny-five.
Ok, installing xcode and command line tools fixed this issue
from johnny-five.
Awesome! Report any other issues you come across :)
from johnny-five.
Related Issues (20)
- Novice ask next how to upload js to hardware HOT 7
- Using PWM and AC DImmer RobotDyn
- Cannot Input Mode Pin 12, 14, 15. ESP8266 HOT 4
- Refactor DS18B20 Temperature Conversion Time Handling
- Usage with Electron of latest J5 versions? HOT 6
- Status of Release?
- Using a Coin selector
- CAN bus with mcp2515 support, and other libraries
- MKR 1010 board HOT 1
- INPUT_PULLUP on digital input pin HOT 12
- I2C Scanner?
- Input pull-up doesn't work on expanders HOT 1
- Unable to use Led.Digits with Multple Boards HOT 4
- Stop stepper while running HOT 2
- Servo animation enqueue is buggy HOT 6
- Calling animation.next inside onloop callback is not working.
- Sensor disable only works once. HOT 3
- Is there a way to use multiple I2C LCD's HOT 2
- RaspberryPi issue HOT 3
- Intermittent Error Code 31 in GetOverlappedResult
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 johnny-five.