-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
👋 @tirsen thanks for the lib!
I am getting a deprecation warning in Node v16.14.2, which seems to be worth tracking:
command
npx retry-cli -- echo "hello world"
expected output
hello world
actual output
hello world
(node:32234) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/me/.npm/_npx/21fe7c0ceac1a151/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)
Thanks again for this helpful mini-lib! I look forward to using it in CI if DeprecationWarning is fixed. Not sure if it is possible to silence it on the Node side, but I’m not very knowledgeable here to be 100% sure.
UPD
This seems to work:
export NODE_OPTIONS=--no-deprecation
npx retry-cli -- echo "hello world"
hello world
Metadata
Metadata
Assignees
Labels
No labels