Nx
Enterprise
Nx
fix(core): display actual error message when plugin loading fails When a plugin loaded in an isolated worker fails, the error is serialized as a plain object (not an Error instance). The existing `instanceof Error` check falls through to `new Error(String(reason))`, which produces `[object Object]` instead of the actual error message. Add a `reasonToError` helper that extracts the `message` and `stack` properties from serialized error objects before falling back to `String()` conversion. Fixes #35137
nx build workspace-plugin
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
1 run failed
nx build workspace-plugin
Click to copy
35138
100%
Cache hits
2 of 2 tasks used cache.