pact-foundation / pact-js-core

Core binaries for pact-js, a Contract Testing Framework. NOTE: If you are looking to do Pact contract testing in node, you almost certainly want pact-js, not pact-node.
https://docs.pact.io
MIT License
150 stars 79 forks source link

Strange issue reading contract file #32

Closed jonoc330 closed 7 years ago

jonoc330 commented 7 years ago

For some reason any time pact node attempts to retrieve a contract file (via http or file system) there is an error reading the contract.

Error: reading pact at /path/to/json.json

What I know is:

Not much to go on, but have you seen this before?

jonoc330 commented 7 years ago

Closing this as I've realised Error: reading pact at is basically a blanket message if there are errors with the provider verification - it's not actually an error "reading" the pact so to speak.

mboudreau commented 7 years ago

Hm, we might want to fix that error message then to be more specific. Please keep this open.

On Tue, Feb 28, 2017, 3:03 AM Jon Cleary notifications@github.com wrote:

Closing this as I've realised Error: reading pact at is basically a blanket message if there are errors with the provider verification - it's not actually an error "reading" the pact so to speak.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pact-foundation/pact-node/issues/32#issuecomment-283010084, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjA5JlsWIgn5nU0tYSQsi3Ra3nErBXqks5rg_7ogaJpZM4MOOzr .