It seems that during this night the alpha.3 package was released of gulp. But when running typescript compiling using this, i get a stacktrace that states TypeError: file.isSymbolic is not a function
The complete stacktrace for this is:
at DestroyableTransform.normalize [as _transform] (C:\Temp\Project\node_modules\vinyl-fs\lib\dest\prepare.js:31:15)
at DestroyableTransform.Transform._read (C:\Temp\Project\node_modules\readable-stream\lib\_stream_transform.js:182:10)
at DestroyableTransform.Transform._write (C:\Temp\Project\node_modules\readable-stream\lib\_stream_transform.js:170:83)
at doWrite (C:\Temp\Project\node_modules\readable-stream\lib\_stream_writable.js:406:64)
at writeOrBuffer (C:\Temp\Project\node_modules\readable-stream\lib\_stream_writable.js:395:5)
at DestroyableTransform.Writable.write (C:\Temp\Project\node_modules\readable-stream\lib\_stream_writable.js:322:11)
at Pumpify.Duplexify._write (C:\Temp\Project\node_modules\duplexify\index.js:201:22)
at doWrite (C:\Temp\Project\node_modules\readable-stream\lib\_stream_writable.js:406:64)
at writeOrBuffer (C:\Temp\Project\node_modules\readable-stream\lib\_stream_writable.js:395:5)
at Pumpify.Writable.write (C:\Temp\Project\node_modules\readable-stream\lib\_stream_writable.js:322:11)
at DestroyableTransform.ondata (C:\Temp\Project\node_modules\readable-stream\lib\_stream_readable.js:612:20)
at emitOne (events.js:96:13)
at DestroyableTransform.emit (events.js:188:7)
at addChunk (C:\Temp\Project\node_modules\readable-stream\lib\_stream_readable.js:284:12)
at readableAddChunk (C:\Temp\Project\node_modules\readable-stream\lib\_stream_readable.js:271:11)
at DestroyableTransform.Readable.push (C:\Temp\Project\node_modules\readable-stream\lib\_stream_readable.js:238:10)
at DestroyableTransform.Transform.push (C:\Temp\Project\node_modules\readable-stream\lib\_stream_transform.js:146:32)
I install gulp using npm with the following configuration in package.json:
"gulp": "github:gulpjs/gulp#4.0"
Please post a sample of your gulpfile (preferably reduced to just the bit that's not working)
var gulp = require("gulp");
var typescript = require("gulp-typescript");
var sourcemaps = require("gulp-sourcemaps");
var typescriptCompile = function (file, done) {
const tsProject = typescript.createProject("tsconfig.json");
if (file === null) {
file = srcPaths.typescript + "**/*.ts";
} else {
console.log(`Compiling ${ file }`);
}
gulp.src(file)
.pipe(sourcemaps.init())
.pipe(tsProject())
.js
.pipe(sourcemaps.write(".", {
includeContent: true, mapSources: function (sourcePath) {
while (sourcePath.startsWith("../")) {
sourcePath = sourcePath.replace("../", "");
}
return `/${sourcePath}`;
} }))
.pipe(gulp.dest(destPaths.app))
.on("end", done);
};
gulp.task("compile.typescript", function (done) {
typescriptCompile(null, done);
});
What version of gulp are you using?
Gulp 4.0 alpha 3
What versions of npm and node are you using?
npm version 3.10.10
node version v6.10.2
It seems that during this night the alpha.3 package was released of gulp. But when running typescript compiling using this, i get a stacktrace that states
TypeError: file.isSymbolic is not a functionThe complete stacktrace for this is:
I install gulp using npm with the following configuration in package.json:
"gulp": "github:gulpjs/gulp#4.0"Please post a sample of your gulpfile (preferably reduced to just the bit that's not working)
What version of gulp are you using?
Gulp 4.0 alpha 3
What versions of npm and node are you using?
npm version 3.10.10
node version v6.10.2