node-getopt icon indicating copy to clipboard operation
node-getopt copied to clipboard

Update package.json

Open gwhizoftv opened this issue 3 years ago • 1 comments

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

gwhizoftv avatar Sep 28 '22 20:09 gwhizoftv

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

kshartman avatar Mar 06 '23 21:03 kshartman