Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: write after end #100

Open
daizch opened this issue Mar 22, 2018 · 0 comments
Open

Error: write after end #100

daizch opened this issue Mar 22, 2018 · 0 comments

Comments

@daizch
Copy link

daizch commented Mar 22, 2018

I am getting an error when I want to inline css files into html file.

Here is my simple example which can throw the below error.
https://github.com/daizch/autoprefix-example

[16:32:22] Using gulpfile ~/workplace/github/autoprefixer-example/gulpfile.js
[16:32:22] Starting 'build'...
[16:32:22] Starting 'clean'...
[16:32:22] Finished 'clean' after 5.85 ms
[16:32:22] Starting 'compile'...
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: write after end
    at writeAfterEnd (/Users/daizecheng/workplace/github/autoprefixer-example/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:288:12)
    at DestroyableTransform.Writable.write (/Users/daizecheng/workplace/github/autoprefixer-example/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:332:20)
    at write (/Users/daizecheng/workplace/github/autoprefixer-example/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/daizecheng/workplace/github/autoprefixer-example/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/Users/daizecheng/workplace/github/autoprefixer-example/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at emitNone (events.js:106:13)
    at DestroyableTransform.emit (events.js:208:7)
    at emitReadable_ (/Users/daizecheng/workplace/github/autoprefixer-example/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:448:10)
    at emitReadable (/Users/daizecheng/workplace/github/autoprefixer-example/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:444:5)
    at readableAddChunk (/Users/daizecheng/workplace/github/autoprefixer-example/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:187:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant