question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not finding linux pact mock service on centos 7

See original GitHub issue

I was previously using nodejs 4.3.2 on a centos 7 linux box running jenkins. Since I’ve updated to nodejs 8.3.0, I can’t seem to be able to require @pact-foundation/pact-node. I get the following error:

Warning: Cannot find module '@pact-foundation/pact-mock-service-linux-x64' Use --force to continue.

I tried with @pact-foundation/pact-node version v4.8.1 and v4.12.0 (latest).

I first noticed the problem with karma-pact, but the problem happens in another repo where I don’t use karma-pact.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:63 (38 by maintainers)

github_iconTop GitHub Comments

2reactions
soundstepcommented, Aug 15, 2017

Good news, I can reproduce in vagrant: https://gist.github.com/soundstep/a34e11b166804f056cfa05581103ef21 Let me know if you need anything else!

1reaction
TimothyJonescommented, Nov 9, 2017

Which reminds me - we tested this, and it works perfectly. Thanks, sorry for forgetting to update!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not finding linux pact mock service on centos 7 #42 - GitHub
2 on a centos 7 linux box running jenkins. Since I've updated to nodejs 8.3.0, I can't seem to be able to require...
Read more >
Troubleshooting | Pact Docs
The mock server starts up correctly, as shown by a debug level log message such as this: · You receive a conflicting message...
Read more >
Running MockServer
The MockServerRule starts MockServer (for both mocking and proxying) on a free port before the any test runs and stops MockServer after all...
Read more >
How to Install SoapUI on Linux/Unix | Getting Started
Learn more about how to install SoapUI on Linux/Unix. Follow these simple steps to get started today!
Read more >
Determining when karma-pact mock server has started
Karma Pact by default will start the Mock on port 1234 (and you can specify your own). Once the port is up, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found