Skip to content

Conversation

@gwhizoftv
Copy link

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

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
@kshartman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants