Gulp-Sourcemaps, SyntaxError: Unexpected token >
问题 Gulp / npm noobie here. I'm trying to use gulp-sourcemaps, and for some reason, it crashes on var sourcemaps = require('sourcemaps') .(It crash only when this line's in the file) gulpfile: var gulp = require('gulp'); var uglify = require('gulp-uglify'); var concat = require('gulp-concat'); var sourcemaps = require('gulp-sourcemaps'); gulp.task('generateApp', function () { return gulp.src([some paths...]) .pipe(sourcemaps.init()) .pipe(concat('app.min.js')) .pipe(uglify()) .pipe(sourcemaps