You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bad value in the package.json file that causes the application to print an error message at every start:
(node:8) [DEP0128] DeprecationWarning: Invalid 'main' field in '/usr/local/lib/node_modules/@alo5/availability/node_modules/node-getopt/package.json' of './lib'. Please either fix that or report it to the module author
--
(Use `node --trace-deprecation ...` to show where the warning was created)
When used in a docker container, this error message is not printed on STDERR but redirected to STDOUT causing side effect when it is desired to redirect semantically relevant output to a file.
The text was updated successfully, but these errors were encountered:
This PR fixes the issue for me. It's not been merged into jiangmiao/node-getopt at this point.
For any future searchers that arrive here before this PR is merged, if you want to avoid the warnings, you can replace the line that looks like this in your package.json:
There is a bad value in the
package.json
file that causes the application to print an error message at every start:When used in a docker container, this error message is not printed on
STDERR
but redirected toSTDOUT
causing side effect when it is desired to redirect semantically relevant output to a file.The text was updated successfully, but these errors were encountered: