Git Product home page Git Product logo

Comments (5)

luk- avatar luk- commented on September 22, 2024

Your xcode command line tools on os x need to be configured before you can build this. If you Google 'xcode-select' you should find help on that.

from levelmeup.

brunops avatar brunops commented on September 22, 2024

Worked now, just updating with the command that fixed it

 $ sudo xcode-select -switch /Library/Developer

from levelmeup.

Pazzilivo avatar Pazzilivo commented on September 22, 2024

still have this issue

> [email protected] install /Users/pazz/.nvm/v0.10.21/lib/node_modules/levelmeup/node_modules/level/node_modules/leveldown
> node-gyp rebuild

npm http 304 https://registry.npmjs.org/bl
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

gyp: Error 1 running xcodebuild
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/pazz/.nvm/v0.10.21/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:424:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 13.0.0
gyp ERR! command "node" "/Users/pazz/.nvm/v0.10.21/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/pazz/.nvm/v0.10.21/lib/node_modules/levelmeup/node_modules/level/node_modules/leveldown
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0

after use command @brunops provides,I get this

xcode-select: error: invalid developer directory '/Library/Developer/'

from levelmeup.

rvagg avatar rvagg commented on September 22, 2024

Do you have xcode installed? perhaps you should reinstall it. you should be able to get the command-line tools downloadable separately if you want to avoid the massive download of the whole thing. Details about what's needed across platforms is here: https://github.com/TooTallNate/node-gyp#installation

from levelmeup.

Pazzilivo avatar Pazzilivo commented on September 22, 2024

@rvagg I only installed the CLT separately, seems node-gyp have the same issue nodejs/node-gyp#341

from levelmeup.

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.