Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@pact-foundation/pact/dist/pact does not exist in pact foundation folder #143

Closed
jathniel opened this issue Dec 12, 2019 · 5 comments
Closed

Comments

@jathniel
Copy link

jathniel commented Dec 12, 2019

I Receive this error after running the test:

    Cannot find module '@pact-foundation/pact/dist/pact' from 'index.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:259:17)
      at Object.<anonymous> (node_modules/jest-pact/index.js:14:12)

the folder /dist/pact does not exist in @pact-foundation/pact
Versions of the packages

    "@pact-foundation/pact": "^9.5.0",
    "jest": "^24.9.0",
    "jest-pact": "^0.5.0-beta"
@jathniel
Copy link
Author

Node: v12.13.1
npm: 6.12.1

@YOU54F
Copy link
Member

YOU54F commented Jan 7, 2020

please use the non beta version 0.4.5 and let me know if you get the same

@jared-fraser
Copy link

Confirm getting the same message with ^0.5.0-beta, however no message with 0.4.5

@TimothyJones
Copy link
Contributor

You should be fine to not use the beta version of jest-pact - it existed to test a beta version of pact-js, which might have impacted windows users.

The changes in the pact-js beta are now in the main release, so there's no value in using the beta jest-pact.

@YOU54F
Copy link
Member

YOU54F commented Feb 18, 2020

@jared-fraser a new version will be released in the next 20 mins or so, 0.5.2 with updated deps. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants