GitHub
03/24/2025, 4:35 PM@pact-foundation/pact^14.0.0, our build fails with "Cannot find module 'graphql'":
[Image](https://private-user-images.githubusercontent.com/1544760/426173129-8bb8beb7-851e-4161-b5bd-a65ecaf27394.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDI4NzY4NjYsIm5iZiI6MTc0Mjg3NjU2NiwicGF0aCI6Ii8xNTQ0NzYwLzQyNjE3MzEyOS04YmI4YmViNy04NTFlLTQxNjEtYjViZC1hNjVlY2FmMjczOTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDMyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAzMjVUMDQyMjQ2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODAzYjJmZTY1YzI3YTc0ODU2OGE3M2IwOWI3NzNhMDM5ZGUxMzc2YjVkNGI2MTg4ZjAxMGIwMDczMzkzOWJmMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.IxuASivO7xvYgIsRUKsjlkGK65UL_tGgw-UTC4mJnvA)
With 13.2.0 everything was fine. We use yarn 4, if that matters.
I saw that 42e65eb#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L109 removed it from the package.json, but the CHANGELOG.md did not mention that change. I see that it is still a peer dependency in graphql-tag, but I am unsure if I need to add it in our devDependencies. Especially, because the v4-Examples do not require graphql as well.
Probably this is a config error on my side. Do you have any clue what it can be?
Thanks in advance!
pact-foundation/pact-jsGitHub
03/25/2025, 4:22 AM