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

Invalid 'main' field #5

Open
Parker-Drouillard opened this issue Nov 19, 2021 · 1 comment
Open

Invalid 'main' field #5

Parker-Drouillard opened this issue Nov 19, 2021 · 1 comment

Comments

@Parker-Drouillard
Copy link

Using this module in my project. Noticed I am getting a DepricationWarning.

"main": "server.js" in the package.json should possibly be changed to "main":"index.js" ?

Not sure though, in fairness I'm a solid 1 week old to the whole node thing.

@Parker-Drouillard
Copy link
Author

That change does in fact resolve it for my project. For clarity, this is in fact the module's package.json, not mine.

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

1 participant