Javascript gulp sass成功启动和结束,但未发出.css文件

Javascript gulp sass成功启动和结束,但未发出.css文件,javascript,node.js,gulp,gulp-sass,Javascript,Node.js,Gulp,Gulp Sass,我的项目根目录中有一个gulpfile.js const gulp = require('gulp'); const sass = require('gulp-sass'); gulp.task('compile-sass'), () => { gulp.src('./client-assets/sass/**/*.scss') .pipe(sass({ includePaths: ['../../node_modules/bootstrap- sass/assets/s

我的项目根目录中有一个gulpfile.js

const gulp = require('gulp');
const sass = require('gulp-sass');

gulp.task('compile-sass'), () => {
  gulp.src('./client-assets/sass/**/*.scss')
    .pipe(sass({ includePaths: ['../../node_modules/bootstrap-
  sass/assets/stylesheets/bootstrap/'] })
        .on('error', sass.logError))
    .pipe(gulp.dest('./wwwroot/'));  
我的客户机资产/sass/目录中有一个bootstrap-custom.scss文件

它只有导入语句,就像_bootstrap.scss一样

// Core variables and mixins
@import "../../node_modules/bootstrap-
sass/assets/stylesheets/bootstrap/variables";
@import "../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins";
我尝试过调用sass(),使用和不使用includePaths选项

我已经安装了node sass npm包 我尝试了版本^4.5.3(最新版本) 然后用相同的问题尝试^4.0.0

另外,我在命令行中直接针对节点sass运行了.scss文件,它正确地发出了一个.css文件


感谢
.pipe(gulp.dest('./wwwroot/')中指定的。
可以在目标目录中找到CSS;在本例中,
wwwroot
不存在。我查过了。谢谢,我隐约记得结尾的文件夹斜杠有点问题-试试“/webroot”