sails-react icon indicating copy to clipboard operation
sails-react copied to clipboard

Unhandled stream error in pipe, Sails 0.12.11

Open egeshi opened this issue 8 years ago • 2 comments

$ node -v
v6.2.2

Enabled sails-react in http.js with customMiddleware property as follows:

middleware: {

    order: [
      ...
      '$custom',
      'router',
      'www',
      'favicon',
      '404',
      '500',
    ],

  ...

  customMiddleware: function (app) {
    app.use(require('../node_modules/sails-react').middleware(app));
  }

$ sails lift ends up with error

Requested ::  GET /

stream.js:74
      throw er; // Unhandled stream error in pipe.
      ^
SyntaxError: Unexpected token

How can I help more to resolve this?

egeshi avatar Nov 26 '16 18:11 egeshi

Where is the owner of the project?

arrowfunxtion avatar May 16 '17 05:05 arrowfunxtion

Sorry for the massive response delay. :skull: I am currently drowning in work. I'll do my best to look into it. Thanks.

fentas avatar May 30 '17 10:05 fentas