Ich habe einen ziemlich neuen Projektstart von angular2-seed. Bis gestern lief alles npm install
ohne ein Problem. Gestern, fügte ich eine andere Abhängigkeit in die Mischung (Bootstrap-Sass) und die Post installiert Aufgabe mit dem folgenden Fehler fehlschlagen gestartet:Fehler: Modul check.versions mit angular2-seed nicht gefunden
[01:07:09] Using gulpfile ~/Dev/indago/indago/journeymap/gulpfile.js
[01:07:09] Starting 'check.versions'...
[01:07:09] 'check.versions' errored after 174 μs
[01:07:09] Error: Cannot find module '/Users/ShurikAg/Dev/indago/indago/journeymap/tools/tasks/seed/check.versions'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Gulp.<anonymous> (/Users/ShurikAg/Dev/indago/indago/journeymap/tools/utils/seed/tasks_tools.js:107:34)
at module.exports (/Users/ShurikAg/Dev/indago/indago/journeymap/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/ShurikAg/Dev/indago/indago/journeymap/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/ShurikAg/Dev/indago/indago/journeymap/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/ShurikAg/Dev/indago/indago/journeymap/node_modules/orchestrator/index.js:134:8)
at /Users/ShurikAg/Dev/indago/indago/journeymap/node_modules/gulp/bin/gulp.js:129:20
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `gulp check.versions && gulp build.bundle.rxjs && npm prune && gulp webdriver && gulp print.banner`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'gulp check.versions && gulp build.bundle.rxjs && npm prune && gulp webdriver && gulp print.banner'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp check.versions && gulp build.bundle.rxjs && npm prune && gulp webdriver && gulp print.banner
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular-seed
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls angular-seed
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/ShurikAg/Dev/indago/indago/journeymap/npm-debug.log
Gerade jetzt, auch wenn ich die neue Abhängigkeit entfernen es fehlschlägt. Die Datei einer Aufgabe ist vorhanden. Ich habe auch versucht, node_modules
zu löschen und alles neu zu installieren, es hilft nicht. Was fehlt mir?
UPDATE
nommenen Schritte für dieses Problem zu erhalten:
frische Samen
npm install
Installieren
npm start
Alle Werke
- Sie einige Code-Änderungen
Alle Werke
Abhängigkeit hinzufügen manuell package.json
rm -rf mode_modules
npm install
Fehler nach oben.
Wie ich schon sagte, seitdem versuchte ich verschiedene Möglichkeiten der Neuinstallation alles einschließlich npm install bootstrap-sass --save
... das gleiche Ergebnis.
warum manuell hinzufügen Abhängigkeit 'npm install (Knoten_Modulname) --save' ist mehr als genug – Aravind
Becuase das Ergebnis ist genau das gleiche. Ich habe beide Möglichkeiten ausprobiert –
in beiden Fällen zeigte es den gleichen Fehler? – Aravind