-
Notifications
You must be signed in to change notification settings - Fork 81
etag problem - argument entity must be string or Buffer #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etag problem - argument entity must be string or Buffer #40
Comments
+1 I'm having the exact same problem. |
Commenting out line 55 of Line 31 states that the entity can be |
I had the same problem with node 0.11.13, works fine with 0.10.26 however. |
+1 on this error. Any ETA for a proper solution? |
+1 same here |
+1 |
3 similar comments
+1 |
+1 |
+1 |
Hello,
I running gulp-webserver and return this error:
/Users/username/Desktop/project/node_modules/gulp-webserver/node_modules/serve-static/node_modules/send/node_modules/etag/index.js:55
throw new TypeError('argument entity must be string or Buffer')
^
TypeError: argument entity must be string or Buffer
at etag (/Users/username/Desktop/project/node_modules/gulp-webserver/node_modules/serve-static/node_modules/send/node_modules/etag/index.js:55:11)
at SendStream.setHeader (/Users/username/Desktop/project/node_modules/gulp-webserver/node_modules/serve-static/node_modules/send/index.js:724:15)
at SendStream.send (/Users/username/Desktop/project/node_modules/gulp-webserver/node_modules/serve-static/node_modules/send/index.js:500:8)
at /Users/username/Desktop/project/node_modules/gulp-webserver/node_modules/serve-static/node_modules/send/index.js:630:12
at Object.oncomplete (fs.js:97:15)
My Gulp File:
var gulp = require('gulp'),
webserver = require('gulp-webserver');
gulp.task('webserver', function() {
gulp.src('build')
.pipe(webserver({
livereload: true,
port: 9001,
open: true
}));
gulp.task('default', [
'webserver'
]);
The text was updated successfully, but these errors were encountered: