Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Node 16.6.1 deprecation: invalid main in package.json #38

Open
ondertan opened this issue Aug 5, 2021 · 4 comments
Open

Node 16.6.1 deprecation: invalid main in package.json #38

ondertan opened this issue Aug 5, 2021 · 4 comments

Comments

@ondertan
Copy link

ondertan commented Aug 5, 2021

After updating a microservice to the latest version of node when I start up the app I get the following warning

[DEP0128] DeprecationWarning: Invalid 'main' field in '[...]/node_modules/codat/package.json' of 'codat.js'. Please either fix that or report it to the module author

Based on the latest documentation it seems like having "main": "codat.js" in package.json will no longer be supported when you also have index.js in the top level directory.

@ondertan
Copy link
Author

ondertan commented Aug 5, 2021

cc: @jasond-s since I see your name in all the issues and most PRs

@smontiu
Copy link

smontiu commented Feb 8, 2022

Same here, appears all-time on logs

@jasond-s
Copy link
Contributor

This repo and the associated NPM is currently deprecated, please see the readme file. I think you can get a good way to working with Codat using JS by creating a client directly from our OAS document.

If you have suggestions though and would like to see some development on this library, please feel free to raise a PR and we can take a look. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@jasond-s @smontiu @ondertan and others