Wir verwenden Schluck und Jeet in unserem Projekt. Aus irgendeinem Grund kommt jeet jedoch mit der Datei node_modules/jeet/stylus/jeet/_jeet.styl und die Ausführung von gulp install bricht ab, da jeet.styl (ohne Unterstrich) benötigt wird. Das Kopieren der Datei oder das Umbenennen der Datei behebt das Problem lokal, aber mit unseren ci-Servern und der Bereitstellung von Automatisierung ist dies ein echter Schmerz!Jeet kommt mit _jeet.styl, aber jeet.styl ist erforderlich
Hier ist ein Auszug aus aus package.json
"gulp": "^3.9.0",
"gulp-bower": "0.0.10",
"gulp-concat": "^2.6.0",
"gulp-jade": "^1.1.0",
"gulp-stylus": "^2.0.6",
"gulp-typescript": "^2.13.0",
"gulp-uglify": "^1.4.1",
"gulp-util": "^3.0.6",
"gulp-watch": "^4.3.5",
"jeet": "^6.1.2",
Und das ist, was wir von schluck installieren erhalten:
Error: path_to_proj\client\styles\screen.styl:168:21
164| padding-bottom 6em
165|
166| code
167| font-weight bold
168| color light-gray
----------------------------^
failed to locate @import file jeet.styl
at Evaluator.visitImport (path_to_proj\node_modules\stylus\lib\visitor\evaluator.js:915:21)
at Evaluator.Visitor.visit (path_to_proj\node_modules\stylus\lib\visitor\index.js:28:40)
at Evaluator.visit (path_to_proj\node_modules\stylus\lib\visitor\evaluator.js:160:18)
at Evaluator.visitRoot (path_to_proj\node_modules\stylus\lib\visitor\evaluator.js:707:27)
at Evaluator.Visitor.visit (path_to_proj\node_modules\stylus\lib\visitor\index.js:28:40)
at Evaluator.visit (path_to_proj\node_modules\stylus\lib\visitor\evaluator.js:160:18)
at Evaluator.evaluate (path_to_proj\node_modules\stylus\lib\visitor\evaluator.js:247:15)
at Renderer.render (path_to_proj\node_modules\stylus\lib\renderer.js:86:26)
at dispatch (path_to_proj\node_modules\when\node.js:71:15)
at callAndResolve (path_to_proj\node_modules\when\lib\apply.js:30:12)
Irgendwelche Ideen, warum die Unterstrich-Datei dort endet und wie man Dinge funktionieren?
ich einen ncp Befehl hinzugefügt haben Nachinstallation Vergangenheit zu erhalten Dieses Problem, aber die ursprüngliche Ursache ist noch unbekannt. –