enb / enb-xjst

XJST support for ENB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

enb server does not work with html-from-bemjson

varya opened this issue · comments

The error

17:46:22.843 - [isValid] [desktop.bundles/index/index.html - /desktop.bundles/index/index.html] html-from-bemjson
TypeError: Object #<ServerResponse> has no method 'set'
    at /Users/varya/WebDev/Personal/docpad-bem-stub/node_modules/enb/lib/server/server-middleware.js:30:21
    at Array.0 (/Users/varya/WebDev/Personal/docpad-bem-stub/node_modules/enb/node_modules/vow/lib/vow.js:202:56)
    at Object.callFns [as _onImmediate] (/Users/varya/WebDev/Personal/docpad-bem-stub/node_modules/enb/node_modules/vow/lib/vow.js:462:35)
    at processImmediate [as _immediateCallback] (timers.js:336:15)

Config: https://github.com/varya/docpad-bem-stub/blob/master/.bem/enb-make.js

enb make works normally with this config

enb-bemxjst/techs/html-from-bemjson from 1.20 makes the same problem

This is a problem of the server itself.

enb/enb#103