-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
Error: Pact publication failed due to windows file path limit exceeded #1116
Comments
It's a known issue with Ruby, and is documented in several open issues (search this project and The current bundled Ruby core uses version Would you mind checking you followed the instructions in this link to see if it works? Also, the logs above aren't super helpful in determining that this is indeed the issue, is that all there is? I've not seen the "side by side" error before. Can you please also confirm that the same issue is present with |
Closing as |
I have enabled the long file paths in windows already. This issue does not happen on mac.
If I move the code to a folder with a shorter path, it does not error
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
Published successfully
Actual behaviour
Error: Pact publication failed with non-zero exit code. Full output was:
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
❯ ChildProcess. node_modules/.pnpm/@pact-foundation[email protected]/node_modules/@pact-foundation/pact-core/src/publisher.ts:129:27
❯ Object.onceWrapper node:events:629:26
❯ ChildProcess.emit node:events:526:35
❯ ChildProcess.cp.emit node_modules/.pnpm/[email protected]/node_modules/cross-spawn/lib/enoent.js:34:29
Steps to reproduce
Run on Windows with long file path
Relevant log files
The text was updated successfully, but these errors were encountered: