-
Notifications
You must be signed in to change notification settings - Fork 74
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
compatibility: setting Error.prepareStackTrace results in an error #251
Comments
I'm running into this now too, as
|
also seeing it a lot around tooling for loading native modules, like here's some of my manual workarounds, using |
The most immediate consequence of this for me is that |
We should remove this once endojs/endo#251 (Error.prepareStackTrace) is fixed.
We should remove this once endojs/endo#251 (Error.prepareStackTrace) is fixed.
We should remove this once endojs/endo#251 (Error.prepareStackTrace) is fixed.
We should remove this once endojs/endo#251 (Error.prepareStackTrace) is fixed.
We should remove this once endojs/endo#251 (Error.prepareStackTrace) is fixed.
Some packages try to modify properties that SES freezes, like `Error.prepareStackTrace`. These packages cannot be imported in a SES environment. Work is underway to tolerate these (endojs/endo#251). `depd` is one such package. As a temporary workaround, this uses the `patch-package` tool to modify the installed `depd` code during the `yarn install` process, patching out its attempt to mutate frozen primordials. When that bug is fixed, we should remove this change.
Some packages try to modify properties that SES freezes, like `Error.prepareStackTrace`. These packages cannot be imported in a SES environment. Work is underway to tolerate these (endojs/endo#251). `depd` is one such package. As a temporary workaround, this uses the `patch-package` tool to modify the installed `depd` code during the `yarn install` process, patching out its attempt to mutate frozen primordials. When that bug is fixed, we should remove this change.
Some packages try to modify properties that SES freezes, like `Error.prepareStackTrace`. These packages cannot be imported in a SES environment. Work is underway to tolerate these (endojs/endo#251). `depd` is one such package. As a temporary workaround, this uses the `patch-package` tool to modify the installed `depd` code during the `yarn install` process, patching out its attempt to mutate frozen primordials. When that bug is fixed, we should remove this change.
Some packages try to modify properties that SES freezes, like `Error.prepareStackTrace`. These packages cannot be imported in a SES environment. Work is underway to tolerate these (endojs/endo#251). `depd` is one such package. As a temporary workaround, this uses the `patch-package` tool to modify the installed `depd` code during the `yarn install` process, patching out its attempt to mutate frozen primordials. When that bug is fixed, we should remove this change.
Some packages try to modify properties that SES freezes, like `Error.prepareStackTrace`. These packages cannot be imported in a SES environment. Work is underway to tolerate these (endojs/endo#251). `depd` is one such package. As a temporary workaround, this uses the `patch-package` tool to modify the installed `depd` code during the `yarn install` process, patching out its attempt to mutate frozen primordials. When that bug is fixed, we should remove this change.
Some packages try to modify properties that SES freezes, like `Error.prepareStackTrace`. These packages cannot be imported in a SES environment. Work is underway to tolerate these (endojs/endo#251). `depd` is one such package. As a temporary workaround, this uses the `patch-package` tool to modify the installed `depd` code during the `yarn install` process, patching out its attempt to mutate frozen primordials. When that bug is fixed, we should remove this change.
Some packages try to modify properties that SES freezes, like `Error.prepareStackTrace`. These packages cannot be imported in a SES environment. Work is underway to tolerate these (endojs/endo#251). `depd` is one such package. As a temporary workaround, this uses the `patch-package` tool to modify the installed `depd` code during the `yarn install` process, patching out its attempt to mutate frozen primordials. When that bug is fixed, we should remove this change.
Closing. Please reopen if this is still a problem. |
the popular
express
(15.5m/week)has a dependency
depd
(16m/week) used for creating deprecation messages.depd
uses some weird voodoo to get v8's object version of the stack by temporarily overridingError.prepareStackTrace
.There is discussion of making setting this field to fail silently, instead of loudly.
depd
's implementation will not work gracefully under a silent failure of setting .The text was updated successfully, but these errors were encountered: