Skip to content

Instantly share code, notes, and snippets.

@waltz
Last active December 14, 2015 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waltz/0a5d393f93b14c3d3e8a to your computer and use it in GitHub Desktop.
Save waltz/0a5d393f93b14c3d3e8a to your computer and use it in GitHub Desktop.
path.js:8
throw new TypeError('Path must be a string. Received ' +
^
TypeError: Path must be a string. Received undefined
var gulp = require('gulp'),
browserify = require('browserify');
gulp.task('compile-client', function() {
browserify()
.add('./client.js')
.bundle()
.pipe(gulp.dest('./public'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment