0

I recently updated node.js on my Mac OSX 10.8.5 by uninstalling my old version and reinstalling through Homebrew. I am now getting errors installing fibers.

npm version gives me:

{ http_parser: '1.0',
  node: '0.10.20',
  v8: '3.14.5.9',
  ares: '1.9.0-DEV',
  uv: '0.10.17',
  zlib: '1.2.3',
  modules: '11',
  openssl: '1.0.1e',
  npm: '1.3.11' }

When I run

npm install fibers@1.0.1

I get

npm http GET https://registry.npmjs.org/fibers
npm http 304 https://registry.npmjs.org/fibers

> fibers@1.0.1 install /Users/nbenes/node_modules/fibers
> node ./build.js

  CXX(target) Debug/obj.target/fibers/src/fibers.o
  CXX(target) Debug/obj.target/fibers/src/coroutine.o
  CC(target) Debug/obj.target/fibers/src/libcoro/coro.o
  SOLINK_MODULE(target) Debug/fibers.node
  SOLINK_MODULE(target) Debug/fibers.node: Finished
Build succeeded but target not found
npm ERR! weird error 1
npm ERR! not ok code 0

I get similar errors without the @1.0.1 and with a '-g' flag. Any suggestions?

4

1 回答 1

1

可能您需要升级 XCode。这为我修复了它(如此 StackOverflow 帖子中所建议:https ://stackoverflow.com/a/19648422/26510 )

于 2014-01-06T02:32:31.550 回答