Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package.json #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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.

None yet

2 participants