Ich versuche, meine App lokal zum Laufen zu bringen. Bei dem Versuch, NPM im Ordner zu installieren, erhalte ich einen Fehler, wenn es auftritt:
npm ERR! Fehler bei der Installation von contextify@0.0.7
Ich habe im Web gesucht, aber alle Ergebnisse zeigten Leute, die Fehler in Windows7 bekommen. Ich benutze OSX. Ich habe XCode installiert.
Unten finden Sie den gesamten Ausdruck:
gorteks$ npm install
npm http GET https://registry.npmjs.org/jquery
npm http 304 https://registry.npmjs.org/jquery
npm http GET https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/htmlparser
npm http 304 https://registry.npmjs.org/htmlparser
npm WARN htmlparser@1.7.3 package.json: bugs['web'] should probably be bugs['url']
npm http 304 https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/cssom
npm http 304 https://registry.npmjs.org/contextify
> contextify@0.0.7 preinstall /Users/gorteks/Sites/digidj-app/node_modules/jquery/node_modules/jsdom/node_modules/contextify
> node-waf clean || (exit 0); node-waf configure build
Nothing to clean (project not configured)
Setting srcdir to : /Users/gorteks/Sites/digidj-app/node_modules/jquery/node_modules/jsdom/node_modules/contextify
Setting blddir to : /Users/gorteks/Sites/digidj-app/node_modules/jquery/node_modules/jsdom/node_modules/contextify/build
Checking for program g++ or c++ : not found
/Users/gorteks/Sites/digidj-app/node_modules/jquery/node_modules/jsdom/node_modules/contextify/wscript:11: error: could not configure a cxx compiler!
npm ERR! Fehler bei der Installation von contextify@0.0.7
npm ERR! Fehler bei der Installation von jsdom@0.2.10
npm ERR! Fehler bei der Installation von jquery@1.6.3
npm ERR! contextify@0.0.7 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` fehlgeschlagen mit 1
npm ERR!
npm ERR! Kontextify@0.0.7-Preinstallationsskript ist fehlgeschlagen.
npm ERR! Dies ist höchstwahrscheinlich ein Problem mit dem contextify-Paket,
npm ERR! nicht mit npm selbst.
npm ERR! Informieren Sie den Autor, dass dies auf Ihrem System fehlschlägt:
npm ERR! node-waf clean || (exit 0); node-waf configure build
npm ERR! Sie können ihre Informationen über folgenden Befehl erhalten:
npm ERR! npm owner ls contextify
npm ERR! Es gibt wahrscheinlich zusätzliche Protokolldaten darüber.
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! Befehl "node" "/usr/local/bin/npm" "install"
npm ERR! Verzeichnis /Users/gorteks/Sites/digidj-app
npm ERR! Node -v v0.6.7
npm ERR! NPM -v 1.1.0-beta-10
npm ERR! Code ELIFECYCLE
npm ERR! Nachricht contextify@0.0.7 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! Nachricht `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` fehlgeschlagen mit 1
npm ERR!
npm ERR! Weitere Protokolldetails finden Sie unter:
npm ERR! /Users/gorteks/Sites/digidj-app/npm-debug.log
npm nicht in Ordnung
Danke für all eure Hilfe, Leute!