Giter Site home page Giter Site logo

Comments (10)

paultag avatar paultag commented on May 12, 2024

It looks like you don't have "make" installed - and the problem's actually with node-gyp

from johnny-five.

rwaldron avatar rwaldron commented on May 12, 2024

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.

eskimoblood avatar eskimoblood commented on May 12, 2024

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.

rwaldron avatar rwaldron commented on May 12, 2024

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.

eskimoblood avatar eskimoblood commented on May 12, 2024

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.

rwaldron avatar rwaldron commented on May 12, 2024

If you're on Linux: sudo apt-get install build-essential

If you're on OSX: download and install xcode

from johnny-five.

rwaldron avatar rwaldron commented on May 12, 2024

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.

eskimoblood avatar eskimoblood commented on May 12, 2024

Thanks for your help, I'll have a break and download xcode.

from johnny-five.

eskimoblood avatar eskimoblood commented on May 12, 2024

Ok, installing xcode and command line tools fixed this issue

from johnny-five.

rwaldron avatar rwaldron commented on May 12, 2024

Awesome! Report any other issues you come across :)

from johnny-five.

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.