Closed patrickhammond closed 1 month ago
Same problem
In newest version still appear... This strong-log-transformer lib is not updated from 2018... but somebody prepared a fix, which waiting to CR...
the same thing happens here
actual for me
(node:59326) [DEP0060] DeprecationWarning: The util._extend
API is deprecated. Please use Object.assign() instead.
I have this problem
(node:21492) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Has anybody found a solution?
I had this error. I changed the node version to a lower version and everything worked
as mentioned above, it is caused by https://github.com/strongloop/strong-log-transformer/issues/12. need to wait for strong-log-transformer to update
i submitted a pr to remove package strong-long-transfromer
from nx's package's dependencies
My node version 22.2 reported this error, I reduced the node version to 18.20 and started again to solve the problem.Should be too high version caused by incompatibility?
Current Behavior
When using Node 22.x, some nx commands that use the
run-many
option show this warning. Ex:nx run-many -t serve
. Running the same command against a specific app does not show the warning. Ex:nx serve app
.Documentation on the warning: https://nodejs.org/docs/latest-v22.x/api/deprecations.html#DEP0060
Expected Behavior
nx commands that result in forked processes should be able to be run without warnings.
GitHub Repo
No response
Steps to Reproduce
nx run-many -t serve
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
Running
node --trace-warnings node_modules/.bin/nx run-many -t serve
to trace out the source of the warning shows this:The strong-log-transformer dependency is coming from: https://github.com/nrwl/nx/blob/2c4c2ae8ca525b973df97b4d8721709b481ad027/packages/nx/package.json#L65
This appears to be its only usage in nx: https://github.com/nrwl/nx/blob/2c4c2ae8ca525b973df97b4d8721709b481ad027/packages/nx/src/tasks-runner/forked-process-task-runner.ts#L4