Skip to content

npm test and npm start fails #3

Description

@wingmanzz

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

  1. 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:
  2. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions