Ich möchte Karma und Webstorm für Windows integrieren, ich habe die Schritte von diesem Web: http://mobicon.tistory.com/273 (übersetzt es auf Englisch) aber funktioniert nicht.Integration von Karma und Webstorm
Ich habe erstellt ein Karma Server und ein Karma laufen:
In Pfad zum Knoten Js Datei-Textfeld, ich habe auf eine Karma-Datei von der Knoten-Module hingewiesen:
C: \ Benutzer \ xxx \ AppData \ Roaming \ NPM-Cache \ Karma \ 0.8.4 \ Paket \ bin \ Karma
In den Anwendungsparameter für den Start des Servers und für das Karma Run
betreibe ich die folgenden Fehler erhalten:
module.js:340
throw err;
^
Error: Cannot find module 'optimist'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (C:\Users\Javito\AppData\Roaming\npm-cache\karma\0.8.4\package\lib\cli.js:2:16)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
Process finished with exit code 1
Hallo! Karma Support ist im Aufbau, es ist für WebStorem 7 geplant (siehe http://youtrack.jetbrains.com/issue/WEB-645) – lena
BTW, hast du das Tutorial [hier] (http: // karma-runner) ausprobiert .github.io/0.8/index.html)? – lena
Hi lena, ich habe mir das Video angeschaut, aber es war für Mac und auch für Testacular nicht für Karma, danke trotzdem! –