gulp-jspm-build icon indicating copy to clipboard operation
gulp-jspm-build copied to clipboard

TypeError: Cannot read property 'bundles' of null

Open Sri276286 opened this issue 9 years ago • 1 comments

Hi,

I am getting this error when using gulp-jspm-build

gulp.task('jspm', function() { jspm({ bundleOptions: { minify: true, mangle: false }, bundles: [ { src: ['target/webapp/main.js'], dst: 'app-bundle.js' } ] }).on('error', function(e) { console.log(e); }) .pipe(gulp.dest('dist-bundle')); });

Error : TypeError: Cannot read property 'bundles' of null at buildConfig (C:\Proj Work\app\node_modules\gulp-jspm-build\lib\buildConfig.js:5:15)

Please help me to fix this

Sri276286 avatar Nov 07 '16 07:11 Sri276286

i had this problem too, is this repo no maintained more?

cdll avatar Mar 23 '17 11:03 cdll