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

"main" field pointing to wrong place on file system in package.json throws deprecation warning #103

Open
kristoferjoseph opened this issue Oct 15, 2021 · 1 comment

Comments

@kristoferjoseph
Copy link
Member

kristoferjoseph commented Oct 15, 2021

(node:92682) [DEP0128] DeprecationWarning: Invalid 'main' field in '@begin/data/package.json' of 'src/index.js'. Please either fix that or report it to the module author
(Use node --trace-deprecation ... to show where the warning was created)

@kristoferjoseph kristoferjoseph changed the title "main" feild in package.json is deprecated "main" field in package.json is deprecated Oct 15, 2021
@ryanblock
Copy link
Member

ryanblock commented Oct 15, 2021

I think it's broken, not deprecated: https://github.com/beginner-corp/begin-data/blob/main/index.js

@kristoferjoseph kristoferjoseph changed the title "main" field in package.json is deprecated "main" field pointing to wrong place in package.json throws deprecation warning Oct 15, 2021
@kristoferjoseph kristoferjoseph changed the title "main" field pointing to wrong place in package.json throws deprecation warning "main" field pointing to wrong place on file system in package.json throws deprecation warning Oct 15, 2021
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

No branches or pull requests

2 participants