Closed koakesdigitalfleet closed 5 years ago
For anyone interested in a workaround, concat works again if you specify "concat-with-sourcemaps": "1.0.5" in your package.json
"devDependencies": {
"gulp": "3.9.1",
"gulp-svg-sprite": "1.3.7",
"gulp-svgmin": "1.2.4",
"gulp-concat": "2.6.1",
"gulp-uglify": "3.0.0",
"gulp-clean-css": "3.9.3",
"concat-with-sourcemaps": "1.0.5"
},
This was fixed in concat-with-sourcemaps@1.0.7 and should be closed.
going to take @Splaktar's word here.
The concat-with-sourcemaps npm package recently received an update (3 hours ago as of this post). I have the following gulp tasks set up, neither of which work anymore in visual studio with node version 5.4.1 and npm version 3.3.4:
The error:
My guess is that gulp-concat is trying to use the latest version of concat-with-sourcemaps, and that version doesn't work with the node that is installed with Visual Studio.
I'm going to try out some workarounds, but I figured I would let you know.