dashersw / cote

A Node.js library for building zero-configuration microservices.
http://cote.js.org
MIT License
2.35k stars 187 forks source link

Invalid 'main' field - node-discover #255

Closed soloroman closed 3 years ago

soloroman commented 3 years ago

Monitor tool logged this to console on only monitor instance running.

import cote from 'cote';
cote.MonitoringTool(3000);

DeprecationWarning: Invalid 'main' field in '..../node_modules/@dashersw/node-discover/package.json' of 'discover'. Please either fix that or report it to the module author

How could i help to solve this?

aziznatour commented 3 years ago

Any update on this? Issue occurs on Node v16.6.2 and cote v1.0.2

dashersw commented 3 years ago

This wasn't causing any issues, but, I just fixed it with cote@1.0.3!

Thanks for reporting!