Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

Error: no writecb in Transform class #37

@farnoy

Description

@farnoy

Hi,

I'm setting up for purescript development and I've had gulp already, so I tried this:

gulp = require("gulp")
purescript = require("gulp-purescript")

gulp.task "purescript", ->
  gulp.src("./src/*.purs")
    .pipe(purescript.psc())
    .pipe(gulp.dest("./build/purescript"))

I get

[12:35:07] Using gulpfile /data/chat/frontend/gulpfile.coffee
[12:35:07] Starting 'purescript'...
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: no writecb in Transform class

And if I remove the pipe(gulp.dest(...)) call

[12:37:05] Starting 'purescript'...
[12:37:05] 'purescript' errored after 36 ms
[12:37:05] Error in plugin 'gulp-purescript'
Message:
    Type mismatch: expected object, found undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions