enb / enb-bh

BH support for ENB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

windows: wrong paths for `require`

blond opened this issue · comments

The technology bh-server uses the wrong paths for require.

Actual

/* ... */
dropRequireCache(require, require.resolve("..\node_modules\bh\lib\bh.js"));
var BH = require("..\node_modules\bh\lib\bh.js");
/* ... */

Expected

/* ... */
dropRequireCache(require, require.resolve("../node_modules/bh/lib/bh.js"));
var BH = require("../node_modules/bh/lib/bh.js");
/* ... */