2017-12-20 5 views
1

ich ein Problem der odbc-Paket auf macOS Sierra (Version 10.12.6)npm installieren odbc nicht auf macOS Sierra (Version 10.12.6)

ich auf macOS Sierra (Version 10.12 installiert haben unixODBC installieren habe. 6)

Hier ist die Ausgabe der Ausgabe von "NPM installieren ODBC":

[email protected] install /Users/cspc106/Documents/app/node_modules/odbc node-gyp configure build

2017-12-20 19: 11: 51,288 xcodebuild [3376: 23375] [MT] DVTSDK: Warning: SDK-Pfadkollision für Pfad '': SDK mit dem Namen 'watchos4.0' wird vom SDK mit ersetzt "watchos4.0". 2017-12-20 19: 11: 51.289 xcodebuild [3376: 23375] [MT] DVTSDK: Warnung: SDK-Pfad Kollision für Pfad '': SDK mit Namen 'iPhonesimulator11.0' durch SDK mit 'iPhonesimulator11.0' ersetzt . 2017-12-20 19: 11: 51.290 xcodebuild [3376: 23375] [MT] DVTSDK: Warnung: SDK-Pfad Kollision für Pfad '': SDK mit dem Namen 'macosx10.13' wird durch SDK mit 'macosx10.13' ersetzt . 2017-12-20 19: 11: 51.291 xcodebuild [3376: 23375] [MT] DVTSDK: Warnung: SDK-Pfadkollision für Pfad '': SDK mit Name 'appletvsimulator11.0' wurde durch SDK mit 'appletvsimulator11.0' ersetzt . 2017-12-20 19: 11: 51.292 xcodebuild [3376: 23375] [MT] DVTSDK: Warnung: SDK-Pfadkollision für Pfad '': SDK mit dem Namen 'watchsimulator4.0' wird durch SDK mit 'watchsimulator4.0' ersetzt . 2017-12-20 19: 11: 51.293 xcodebuild [3376: 23375] [MT] DVTSDK: Warnung: SDK-Pfad Kollision für Pfad '': SDK mit Name 'appletvos11.0' wurde durch SDK mit 'appletvos11.0' ersetzt . 2017-12-20 19: 11: 51.293 xcodebuild [3376: 23375] [MT] DVTSDK: Warnung: SDK-Pfad Kollision für Pfad '': SDK mit dem Namen 'iphoneos11.0' durch SDK mit 'iphoneos11.0' ersetzt . 2017-12-20 19: 11: 51.466 xcodebuild [3376: 23375] [MT] DVTPlugInManager: Erforderliche Plug-in-Kompatibilität UUID DF11C142-1584-4A99-87AC-1925D5F5652A für IDEDevkitRefactoring.ideplugin (com.apple.dt.IDE. IDEDevkitRefactoring) nicht vorhanden 2017-12-20 19: 11: 51.540 xcodebuild [3376: 23375] [MT] DVTPlugInLoading: Fehler beim Laden des Codes für das Plug-in com.apple.dt.IDE.IDEiOSSupportCore (/Applications/Xcode.app /Contents/PlugIns/IDEiOSSupportCore.ideplugin), Fehler = Fehler Domäne = NSCOAErrorDomain Code = 3588 "dlopen (/Applications/Xcode.app/Contents/PlugIns/IDEeiOSSupportCore.ideplugin/Contents/MacOS/IDEeiOSSupportCore, 265): Symbol nicht gefunden: _OBJC_CLASS _ $ _ FXPCSessionManager Referenziert von: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator (das für Mac OS X 10.12 gebaut wurde) Erwartet in: /Applications/Xcode.app/Contents/Developer/Library/ PrivateFram eworks/CoreSimulator.framework/Versionen/A/Frameworks/FoundationXPC.framework/Versionen/A/FoundationXPC in /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator "UserInfo = {NSLocalizedFailureReason = Das Bundle konnte nicht geladen werden., NSLocalizedRecoverySuggestion = Versuchen Sie, das Bundle erneut zu installieren., NSFilePath =/Anwendungen/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Inhalt/MacOS/IDEiOSSupportCore, NSDebugDescription = dlopen (/Applications/Xcode.app/Contents/PlugIns/ IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore, 265): Symbol nicht gefunden: _OBJC_CLASS _ $ _ FXPCSessionManager Referenziert von: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator (das für Mac OS X 10.12 gebaut wurde) Erwartet in: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/Frameworks/FoundationXPC.f ramework/Versionen/A/FoundationXPC in /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator, NSBundlePath =/Anwendungen/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin, NSLocalizedDescription = Das Bundle "IDEiOSSupportCore" konnte nicht geladen werden.}, dyldError = dlopen (/Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEeiOSSupportCore, 0): Symbol nicht gefunden: _OBJC_CLASS _ $ _ FXPCSessionManager Referenziert von:/Library/Entwickler/PrivateFrameworks/CoreSimulator.framework/Versionen/A/CoreSimulator (die für Mac OS X 10 gebaut wurde.12) Erwartet in: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/Frameworks/FoundationXPC.framework/Versions/A/FoundationXPC in/Library/Developer/PrivateFrameworks/CoreSimulator .framework/Versions/A/CoreSimulator 2017.12.20 19: 11: 51,541 xcodebuild [3376: 23375] [MT] DVTAssertions: Warnung in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-13247 /IDEFoundation/Initialization/IDEInitialization.m:264 Details: Xcode fehlgeschlagen seiner ursprünglichen Plug-in-Scan, Fehler = Fehler Domain = DVTPlugInErrorDomain Code = 2 "Laden eines Plug-Ins fehlgeschlagen." UserInfo = {DVTPlugInIdentifierErrorKey = com.apple.dt.IDE.IDEIOSSupportCore, DVTPlugInExecutablePathErrorKey =/Anwendungen/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Inhalt/MacOS/IDEiOSSupportCore, NSLocalizedRecoverySuggestion = Das Plug-In oder einer seiner erforderlichen Plugins -ins sind möglicherweise nicht vorhanden oder beschädigt und müssen möglicherweise neu installiert werden., DVTPlugInDYLDErrorMessageErrorKey = dlopen (/Applications/Xcode.app/Contents/PlugIns/IDEeiOSSupportCore.ideplugin/Contents/MacOS/IDEeiOSSupportCore, 0): Symbol nicht gefunden: _OBJC_CLASS _ $ _ FXPCSessionManager Referenziert von: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator (die für Mac OS X 10.12 erstellt wurde) Erwartet in: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator .framework/Versionen/A/Frameworks/FoundationXPC.framework/Versionen/A/FoundationXPC in/Library/Entwickler/PrivateFrameworks/Co reSimulator.framework/Versions/A/CoreSimulator, NSLocalizedDescription = Laden eines Plug-in ist fehlgeschlagen., NSFilePath =/Anwendungen/Xcode.app/Inhalte/Plugins/IDEiOSSupportCore.ideplugin, NSLocalizedFailureReason = die Plug-in „com.apple.dt. IDE.IDEiOSSupportCore "at Pfad" /Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin "konnte nicht geladen werden. Die Plug-in oder eine ihrer Voraussetzung Plug-In nicht vorhanden oder beschädigt werden., NSUnderlyingError = 0x7ff0ce6900b0 {Fehler Domain = NSCocoaErrorDomain-Code = 3588 „dlopen (/Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/ MacOS/IDEiOSSupportCore, 265): Symbol nicht gefunden: _OBJC_CLASS _ $ _ FXPCSessionManager Referenziert von: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator (das für Mac OS X 10.12 gebaut wurde) Erwartet in:/Anwendungen /Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/Frameworks/FoundationXPC.framework/Versions/A/FoundationXPC in /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator "UserInfo = {NSLocalizedFailureReason = Das Bundle konnte nicht geladen werden., NSLocalizedRecoverySuggestion = Versuchen Sie, das Bundle erneut zu installieren., NSFilePath =/Applications/Xcode.app/Contents/Plug Ins/IDEiOSSupportCore.ideplugin/Inhalt/MacOS/IDEiOSSupportCore, NSDebugDescription = dlopen (/Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEeiOSSupportCore, 265): Symbol nicht gefunden: _OBJC_CLASS _ $ _ FXPCSessionManager Referenz von : /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator Erwartete in (die für Mac OS X 10.12 gebaut wurde): /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/ Versionen/A/Frameworks/FoundationXPC.framework/Versionen/A/FoundationXPC in /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator, NSBundlePath =/Anwendungen/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin , NSLocalizedDescription = Das Paket "IDEiOSSupportCore" konnte nicht geladen werden.}}} Funktion: BOOL _IDEInitializePlugInManager (IDEI nitializationOptions, NSError * __ autoreleasing *) Thema: {Nummer = 1, name = main} Bitte einen Fehler bei http://bugreport.apple.com mit dieser Warnmeldung Datei und alle nützlichen Informationen, die Sie zur Verfügung stellen kann. xcodebuild: Fehler: Initialisierung fehlgeschlagen. Grund: Das Laden eines Plugins ist fehlgeschlagen.

make: error: Kann kein Dienstprogramm "make" finden, kein Entwicklerwerkzeug oder in PATH gyp ERR! Build Fehler gyp ERR! Stapel Fehler: make fehlgeschlagen mit Exit code: 72 gyp ERR! stack bei ChildProcess.onExit (/ usr/local/lib/Knotenmodule/npm/Knotenmodule/node-gyp/lib/build.js: 258: 23) gyp ERR! Stapel bei emitTwo (events.js: 126: 13) gyp ERR! stack bei ChildProcess.emit (events.js: 214: 7) gyp ERR! stack bei Process.ChildProcess._handle.onexit (internal/child_process.js: 198: 12) gyp ERR! System Darwin 16.7.0 gyp ERR! Befehl "/ usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "konfigurieren" "bauen" gyp ERR! cwd/Benutzer/cspc106/Dokumente/app/node_modules/odbc gyp ERR! Knoten -v v8.9.3 gyp ERR! node-gyp -v v3.6.2 gyp ERR! nicht ok npm WARN OPTIONAL DEPENDENCY optional SKIPPING: [email protected] (node_modules/bufferutil): npm OPTIONAL DEPENDENCY optional SKIPPING WARNEN: [email protected] installieren: Beenden Status 1 npm: node-gyp rebuild npm optional SKIPPING OPTIONAL DEPENDENCY WARN WARN optional SKIPPING OPTIONALE ABHÄNGIGKEIT: [email protected] (node_modules/utf-8-validate): npm WARN optional SKIPPING OPTIONALE ABHÄNGIGKEIT: [email protected] install: node-gyp rebuild npm WARN optional SKIPPING OPTIONALE ABHÄNGIGKEIT: Exit status 1

npm ERR! Code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] installieren: node-gyp configure build npm ERR! Exit status 1 npm ERR! npm ERR! Fehler beim Installationsskript [email protected] npm ERR! Dies ist wahrscheinlich kein Problem mit Npm. Wahrscheinlich ist oben eine zusätzliche Protokollierung vorhanden.

npm ERR! Ein vollständiges Protokoll dieses Laufs finden Sie in: npm ERR! /Users/cspc106/.npm/_logs/2017-12-20T13_41_52_231Z-debug.log

Antwort

0

Das Problem wird durch die Tatsache verursacht wird, dass das make Nutzen aus dem System fehlt, wie Sie hier sehen können:

make: error: unable to find utility "make", not a developer tool or in PATH gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 72 gyp ERR!

Um dieses Dienstprogramm auf einem Mac zu erhalten, müssen Sie zuerst XCode installieren. Dann sollten Sie in der Lage sein, diese Installation ohne ein Problem durchzuführen.

Als eine Randnotiz; Die Befehlszeilentools werden für alle NPM-Pakete benötigt, die native Module verwenden (in C/C++ geschrieben und auf einer Installation erstellt werden müssen).

+0

XCode ist auf meinem Mac installiert. –

+0

@VimalSharma Wenn Sie bereits XCode installiert haben, müssen Sie sicherstellen, dass Sie auch die Befehlszeilen-Entwicklertools installiert haben. Versuchen Sie, diesen Befehl in der Befehlszeile auszuführen: 'xcode-select --install' –

Verwandte Themen