Bekommen Error: Cannot find module 'npmlog' bei der Installation Browserfy

Geben, wenn ich:

 npm install -g browserify

Mein terminal spuckt dies aus:

module.js:338
    throw err;
          ^
Error: Cannot find module 'npmlog'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at /usr/local/lib/node_modules/npm/bin/npm-cli.js:18:11
    at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:75:3)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

Ich bin neu zu Knoten. Ich habe Knoten v0.12.0, Ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0], Schienen 4.1.8. Ich bin mit dem terminal auf einem Mac. Ich habe OS X 10.9.5, Mavericks.

Ich versuche schon einige Lösungen, die ich im Netz gefunden habe aber nichts hat geklappt. Ich würde schätzen jede Hilfe. Danke!

  • Hmm, sieht aus wie ich habe das exakt gleiche Problem. Kann man die " npm " - Befehl? Es wirft den Fehler aus... hast du eine Lösung finden?
  • Nein, ich kann nicht & ich haben keine Lösung gefunden bisher.
InformationsquelleAutor mxld | 2015-03-04
Schreibe einen Kommentar