You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create a pact test for an Angular project with Karma the first time. However, I run into the problem that Windows has a default path length limit of 260:
If I move the project to a shallower path the error is gone. Since the project is part of a larger set up with fixed directory structure this is no reliable solution for our team. Unfortunately, enabling windows long paths in the registry did not fix the problem even though the documentation on https://www.npmjs.com/package/@pact-foundation/pact-node#windows-issues suggests otherwise.
I am using Microsoft Windows 10 (build 18363). The problem can be reproduced with a dummy project set up as follows:
I tried to create a pact test for an Angular project with Karma the first time. However, I run into the problem that Windows has a default path length limit of 260:
Pact Binary Error: choosen_project_path/node_modules/@pact-foundation/pact-node/standalone/win32-1.88.3/pact/lib/vendor/ruby/2.2.0/gems/pact-mock_service-3.6.2/lib/pact/mock_service/request_handlers/interaction_post.rb:1:in require': cannot load such file -- pact/mock_service/request_handlers/base_administration_request_handler (LoadError)
If I move the project to a shallower path the error is gone. Since the project is part of a larger set up with fixed directory structure this is no reliable solution for our team. Unfortunately, enabling windows long paths in the registry did not fix the problem even though the documentation on https://www.npmjs.com/package/@pact-foundation/pact-node#windows-issues suggests otherwise.
I am using Microsoft Windows 10 (build 18363). The problem can be reproduced with a dummy project set up as follows:
Thank you
The text was updated successfully, but these errors were encountered: