Ich habe Titanium auf meinem Mac installiert und jetzt, wenn ich versuche, alle NPM-Pakete global zu installieren, scheitert es.NPM installieren -g funktioniert nicht nach Titanium installieren
Die Ausgabe von meinem installieren ist
npm http 304 https://registry.npmjs.org/loggly
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/timespan
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/timespan
/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/usr/local/share/npm/bin/grunt-init -> /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/usr/local/share/npm/lib/node_modules/grunt-init/bin/grunt-init
[email protected] /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/usr/local/share/npm/lib/node_modules/grunt-init
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
Als ich später tun dann die Grunzen-init, nichts zurückgegeben. Es scheint, als würde etwas, das Teil von Titanium ist, mit meiner -g npm-Installation interferieren?
Dies hat erst begonnen, seit ich Titanium installiert habe. Ich kann es funktionieren, wenn ich grunt-init manuell im npm-Verzeichnis installiere, aber das hat buchstäblich die beste Funktion für mich weggenommen.
bitte helfen!
nach der Deinstallation von npm, habe ich es neu installiert und immer noch ein Problem. Blick auf die Npm log Fehler Fehler: EACCES, mkdir '/ Anwendungen/Titanium Studio/TitaniumStudio.app/Inhalte/MacOS/Passwort:/usr/local/share/npm/lib' 4 Fehler {[Fehler: EACCES, mkdir '/ Anwendungen/Titanium Studio/TitaniumStudio.app/Inhalt/MacOS/Passwort:/usr/local/share/npm/lib'] 4 Fehler Fehlernummer: 3, 4 Fehlercode: 'EACCES', 4 Fehler Pfad : '/ Anwendungen/Titanium Studio/TitaniumStudio.app/Inhalt/MacOS/Passwort:/usr/local/share/npm/lib'} 5 Fehler Bitte versuchen Sie, diesen Befehl erneut als root/Administrator auszuführen. – user3011849
ist noch etwas drin> !? – user3011849
Es wurde behoben Endete vollständig entfernen Knoten und npm, dann Neuinstallation mit nvm. Es scheint, dass einige Berechtigungen aufgetreten in der Vergangenheit und damit alle meine nachfolgenden Installationen nach Titanium geschraubt. Wort des Rates nvm scheint der Weg nach vorne zu sein! – user3011849