在mac os x 下安装html2jade 报错了
报错内容如下,有人碰到过嘛?
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
Traceback (most recent call last): File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp”, line 18, in <module> sys.exit(gyp.main(sys.argv[1:])) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py”, line 523, in main return gyp_main(args) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py”, line 508, in gyp_main generator.GenerateOutput(flat_list, targets, data, params) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 2105, in GenerateOutput part_of_all=qualified_target in needed_targets) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 769, in Write self.Pchify)) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 1154, in WriteSources cflags = self.xcode_settings.GetCflags(configname) File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 260, in GetCflags sdk_root = self._SdkPath() File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 247, in _SdkPath return os.path.join(self._GetSdkBaseDir(), File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 234, in _GetSdkBaseDir raise Exception(‘Error %d running xcode-select’ % job.returncode) Exception: Error 2 running xcode-select npm http 304 https://registry.npmjs.org/node
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/hawk
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:415: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 12.4.1
gyp ERR! command “node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/html2jade/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.10.12
gyp ERR! node-gyp -v v0.10.0
gyp ERR! not ok
npm http 304 https://registry.npmjs.org/form-data/0.0.8
npm ERR! error rolling back Error
我的node版本是 v0.10.12 python 版本是2.7.2
有人知道是哪里的问题吗??????
jade这么复杂的东西就不要用了,直接ejs把