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

Cors Anywhere fails when used alongside browserify #182

Open
idmadj opened this issue Jul 8, 2019 · 0 comments · May be fixed by #183
Open

Cors Anywhere fails when used alongside browserify #182

idmadj opened this issue Jul 8, 2019 · 0 comments · May be fixed by #183

Comments

@idmadj
Copy link

idmadj commented Jul 8, 2019

Because of an issue in pre-1.15.2 http-proxy, cors-anywhere fails with the following error whenever it is used alongside browserify:

TypeError: Cannot set property 'createProxy' of undefined

See jestjs/jest#1776 and http-party/node-http-proxy#1039.

This makes it impossible to use cors-anywhere in Jest, for instance.

Simply bumping the http-proxy dependency to ^1.15.2 seems to take care of the issue.

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

Successfully merging a pull request may close this issue.

1 participant