gulp.task('hello-world', function () {
run('echo Hello World').exec() // prints "Hello World\n".
.pipe(gulp.dest('output')) // Writes "Hello World\n" to output/echo.
})
error:
Error: No path specified! Can not get relative.
at File.Object.defineProperty.get (/Users/thomas/Desktop/play-atomshell/node_modules/gulp-run/node_modules/vinyl/index.js:123:27)
at DestroyableTransform.saveFile [as _transform] (/Users/thomas/Desktop/play-atomshell/node_modules/gulp/node_modules/vinyl-fs/lib/dest/index.js:37:48)
at DestroyableTransform.Transform._read (/Users/thomas/Desktop/play-atomshell/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at DestroyableTransform.Transform._write (/Users/thomas/Desktop/play-atomshell/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
at doWrite (/Users/thomas/Desktop/play-atomshell/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer (/Users/thomas/Desktop/play-atomshell/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at DestroyableTransform.Writable.write (/Users/thomas/Desktop/play-atomshell/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at write (_stream_readable.js:601:24)
at flow (_stream_readable.js:610:7)
at _stream_readable.js:578:7
This isn't working :/
error: