-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cannot assign to read only property 'name' of function 'function Constructor #4
Comments
…able Attempts to address One-com/node-httperrors#4
Thanks for getting in touch! I couldn't reproduce the problem myself (it might depend on a specific version of node or something else), but I vaguely remember a similar problem where using I've attempted a fix here: One-com/node-createerror@f6b09ec It's included in httperrors 2.3.0 -- could you try that and see if it helped? |
Closing this issue assuming that the above fix by @papandreou adressed the issue. Let us know if that's not the case! |
We are using Without this change, it appears that you get the error mentioned by the original reporter if you happen to bundle this code in strict mode - unfortunately at least The |
I started getting this error recently. I believe that it is from the library
createerror
that is a dependency. How can I fix it?The text was updated successfully, but these errors were encountered: