Skip to content
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

"undefined" command is not supported #7

Open
kseo opened this issue Jul 12, 2015 · 4 comments
Open

"undefined" command is not supported #7

kseo opened this issue Jul 12, 2015 · 4 comments

Comments

@kseo
Copy link

kseo commented Jul 12, 2015

The following example does not work for me. (I adjusted the path correctly).

var tsd = require('gulp-tsd');

gulp.task('tsd', function () {
    return gulp.src('./gulp_tsd.json').pipe(tsd());
});

kseo@Kwangs-MacBook-Pro:~/hackercafe/video (master *)$ gulp
[16:10:22] Using gulpfile ~/xxx/gulpfile.js
[16:10:22] Starting 'tsd'...
[16:10:23] 'tsd' errored after 422 ms
[16:10:23] Error in plugin 'gulp-tsd'
Message:
"undefined" command is not supported

The second example works fine.

var tsd = require('gulp-tsd');

gulp.task('tsd', function (callback) {
    tsd({
        command: 'reinstall',
        config: './tsd.json'
    }, callback);
});
@pleerock
Copy link

same error for me

@orangeRat
Copy link

and for me

@moznion
Copy link
Owner

moznion commented Aug 1, 2015

@kseo @pleerock @orangeRat
Sorry for my late reply.

Perhaps, is command missing in your gulp_tsd.json?
Work of gulp-tsd is unsettled if command is not set. Do you need default behavior on such a situation?

@pleerock
Copy link

pleerock commented Nov 8, 2015

is only "reinstall" command supported? If yes then it makes this component not very usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants