Skip to content

illegal operation on a directory, read #51

Description

@MartijnHarmenzon

When trying to use:

    .src([
      './dist/**/index.html'
    ])
    .pipe(inlinesource())
    .pipe(gulp.dest('./dist/'));

It fails.

    .src([
      './dist/analytics/index.html'
    ])
    .pipe(inlinesource())
    .pipe(gulp.dest('./dist/'));

Fails also.

The following works:

    .src([
      './dist/index.html'
    ])
    .pipe(inlinesource())
    .pipe(gulp.dest('./dist/'));

But I need to inline the code in the analytics folder also.

Error message:

Message:
EISDIR: illegal operation on a directory, read
Details:
errno: -4068
syscall: read
code: EISDIR
domainEmitter: [object Object]
domainThrown: false

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions