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 No such file or directory publish_dir #305

Open
kheraankit opened this issue Feb 23, 2024 · 1 comment
Open

Pact No such file or directory publish_dir #305

kheraankit opened this issue Feb 23, 2024 · 1 comment

Comments

@kheraankit
Copy link

I am getting this error when trying to run provider verification tests. It wants to create a directory under root /publish/ for which it doesn't have permissions. Is there any configuration property that I can use to configure the path, and learn more about what it is trying to do?

Failure/Error: file = File.new("#{@publish_dir}/#{filename}", 'w+')
   
   Errno::ENOENT:
     No such file or directory @ rb_sysopen - /publish/0.2795377757053914
   # /Users/<user>/.rbenv/versions/3.0.5/lib/ruby/gems/3.0.0/gems/pact-1.64.0/bin/pact:4:in `<top (required)>'
   # /Users/<user>/.rbenv/versions/3.0.5/bin/pact:25:in `load'
   # /Users/<user>/.rbenv/versions/3.0.5/bin/pact:25:in `<top (required)>'


@YOU54F
Copy link
Member

YOU54F commented Aug 15, 2024

Are you able to provide any more information about your setup? or provide a minimal reproducible example?

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

2 participants