powershell - Powershell 中的 gulp-print 为空

标签 powershell gulp

我有一个简单的 gulp 任务,它只打印一些 .js 文件。在 cmd 中打印正常,但在 Powershell 中 gulp-print 为空。关于为什么会这样的任何指示?这是 gulpfile.js 和输出。

var gulp = require('gulp');
var gulpprint = require('gulp-print');

gulp.task('print', function() {
    gulp.src('./src/**/*.js').pipe(gulpprint());
});

enter image description here

最佳答案

这并不理想,但您可以禁用颜色

gulp --no-colors print

关于powershell - Powershell 中的 gulp-print 为空,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36676951/

相关文章:

node.js - Gulp-watch 不起作用,无法运行

powershell - Powershell选择字符串列

Powershell 删除项不起作用

Gulp 将文件从一个目录复制到另一个目录

javascript - 如何修复模板缓存中的模板路径? (gulp-angular-templatecache)

javascript - Gulp:更改 css 文件的文件目标

javascript - 我如何在 gulp 中使用 source maps?

powershell - 将目录内容作为一行传递到Powershell中的可执行文件

powershell - 显示相同 Get-Content 的多个管道值

powershell - 复制项目与XCopy