Skip to content

Cannot run npm run cover locally #309

@ryanseys

Description

@ryanseys

Well, both npm run test and npm run regression-test both run fine and pass but I cannot generate coverage report using npm run cover (which I thought just ran test and regression-test)?

Error I see:

  1) BigQuery "before all" hook:
     Uncaught TypeError: Cannot call method 'on' of undefined
      at Request.start (/Users/ryanseys/gcloud-node/node_modules/google-service-account/node_modules/gtoken/node_modules/request/request.js:930:12)
      at Request.write (/Users/ryanseys/gcloud-node/node_modules/google-service-account/node_modules/gtoken/node_modules/request/request.js:1689:10)
      at end (/Users/ryanseys/gcloud-node/node_modules/google-service-account/node_modules/gtoken/node_modules/request/request.js:687:14)
      at Object._onImmediate (/Users/ryanseys/gcloud-node/node_modules/google-service-account/node_modules/gtoken/node_modules/request/request.js:710:7)
      at processImmediate [as _immediateCallback] (timers.js:345:15)

Metadata

Metadata

Labels

🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions