node-getopt
node-getopt copied to clipboard
Update package.json
Build complains about
(node:24) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/container/node_modules/node-getopt/package.json' of './lib'. Please either fix that or report it to the module author
When I apply this fix it does not work. I still get the deprecation warning with node 16.16.0. What works for me is to change package.json thus:
"main" : "lib/getopt.js",
just changing it to
"main": "lib"
does not work