Files run through gulp have repeated characters at end #1857

Open
ericnewton76 opened this Issue Nov 15, 2016 · 6 comments

Projects

None yet

2 participants

@ericnewton76
ericnewton76 commented Nov 15, 2016 edited

gulp dest randomly repeating lines at end of file(s).

this happens a lot, but randomly. guessing there's an unflushed buffer somewhere.

EDIT: actually, it more looks like a double flushed buffer somehow...

image

@ericnewton76
ericnewton76 commented Nov 15, 2016 edited
npm list gulp
project@0.0.1 C:\Projects\xxx
`-- gulp@3.9.1

package.json:

{
  "name": "project",
  "version": "0.0.1",
  "description": "xxx",
  "main": "gulpfile.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "xxxxxxxxxx"
  },
  "author": "Eric Newton",
  "license": "BSD-2-Clause",
  "devDependencies": {
    "bem-jade": "^0.1.2",
    "coffee-script": "^1.10.0",
    "connect-livereload": "~0.5.3",
    "express": "~4.13.3",
    "gulp": "^3.9.0",
    "gulp-bless": "~3.0.1",
    "gulp-changed": "~1.3.0",
    "gulp-coffee": "~2.3.1",
    "gulp-if": "^2.0.0",
    "gulp-imagemin": "~2.4.0",
    "gulp-if": "^1.2.5",
    "gulp-jade": "~1.1.0",
    "gulp-jslint": "^0.2.2",
    "gulp-minify-css": "^1.2.1",
    "gulp-notify": "^2.2.0",
    "gulp-notify": "~2.2.0",
    "gulp-prettify": "~0.3.0",
    "gulp-sass": "~2.1.0",
    "gulp-sourcemaps": "^1.6.0",
    "gulp-svg-sprite": "^1.2.10",
    "gulp-svg2png": "^0.3.0",
    "gulp-svgmin": "^1.2.0",
    "gulp-uglify": "^1.4.1",
    "gulp-util": "^3.0.7",
    "imagemin-pngcrush": "~4.1.0",
    "jade": "^1.9.2",
    "node-bourbon": "^4.2.3",
    "serve-favicon": "~2.3.0",
    "tiny-lr": "0.2.1",
    "vinyl": "^1.1.0",
    "gulp-sourcemaps": "^1.6.0"
  }
}
@callumacrae
Member

Does it only happen with one task or does it happen with all? Could you post your gulpfile?

@ericnewton76
ericnewton76 commented Nov 15, 2016 edited

image

here's another run, on a build server, and a different file was affected (that I noticed)

@ericnewton76

Attaching the gulpfile here:
gulpfile.js.txt

@ericnewton76

Stand by, I'm doing massive updates to our gulpfile for this project, it doesn't meet our standards atm.

Updates will probably mask away this problem unfortunately.

@callumacrae
Member

It's happening on more than one machine? That's very strange 😦

Is it just happening with one task (looks like the build-coffee or build-js tasks), or all of them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment