gulp_jspm Domain property building project using gulp

180 views Asked by At

I am getting this error when I try build my project using gulp. It is getting trigger with this logic gulp_jspm. Is there something else I should use to create my bundle files? Do I use this gulp-jspm-builder?

[11:18:42] Starting 'bundle:template'...
(node:31888) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead. (Triggered by calling processImmediate on process.)
(Use `node --trace-deprecation ...` to show where the warning was created)
[11:18:42] 'bundle:template' errored after 57 ms


var createBundleTask = function (entryPoint, packageId) {
    if (typeof entryPoint === "undefined") {
        throw "ArgumentNullException: entryPoint";
    }

    if (typeof packageId === "undefined") {
        throw "ArgumentNullException: packageId";
    }

    var task = gulp.src(entryPoint)
        .pipe(gulp_jspm({
            selfExecutingBundle: true
        }),true)
        .pipe(rename(packageId + ".bundle.js"))
        .pipe(gulp.dest(paths.dist + "/bundle"))
        .on('error', function (err) { console.log(err.message); });
    return task;
};
0

There are 0 answers