on fresh install of node v8.11.3:
OData V4 example server
Products
1) "before each" hook for "should get all products (GET /Products)"
0 passing (29ms)
1 failing
- OData V4 example server "before each" hook for "should get all products (GE
T /Products)":
TypeError: Cannot read property 'highWaterMark' of undefined
at ODataServer.get (_stream_duplex.js:73:32)
at propNames.forEach (node_modules\odata-v4-server\build\lib\metadata.js:2
95:49)
at Array.forEach ()
at Object.createMetadataJSON (node_modules\odata-v4-server\build\lib\metad
ata.js:294:15)
at Function.$metadata (node_modules\odata-v4-server\build\lib\server.js:18
7:137)
at new ODataProcessor (node_modules\odata-v4-server\build\lib\processor.js
:416:81)
at Function.createProcessor (node_modules\odata-v4-server\build\lib\server
.js:176:16)
at Function.execute (node_modules\odata-v4-server\build\lib\server.js:145:
- at Context.beforeEach (test\pgsql.spec.js:34:32)
[mochawesome] Report saved to report\odata-v4-server.html
npm ERR! Test failed. See above for more details.
npm start also fails with same error.
on fresh install of node v8.11.3:
OData V4 example server
Products
1) "before each" hook for "should get all products (GET /Products)"
0 passing (29ms)
1 failing
T /Products)":
TypeError: Cannot read property 'highWaterMark' of undefined
at ODataServer.get (_stream_duplex.js:73:32)
at propNames.forEach (node_modules\odata-v4-server\build\lib\metadata.js:2
95:49)
at Array.forEach ()
at Object.createMetadataJSON (node_modules\odata-v4-server\build\lib\metad
ata.js:294:15)
at Function.$metadata (node_modules\odata-v4-server\build\lib\server.js:18
7:137)
at new ODataProcessor (node_modules\odata-v4-server\build\lib\processor.js
:416:81)
at Function.createProcessor (node_modules\odata-v4-server\build\lib\server
.js:176:16)
at Function.execute (node_modules\odata-v4-server\build\lib\server.js:145:
[mochawesome] Report saved to report\odata-v4-server.html
npm ERR! Test failed. See above for more details.
npm start also fails with same error.