Meteor-Community-Packages / check-npm-versions

Enforces "peer" npm dependencies in Meteor 1.3+ Atmosphere packages.
MIT License
11 stars 10 forks source link

Missing client packages: Inform on server log #14

Closed derwaldgeist closed 4 years ago

derwaldgeist commented 7 years ago

If I understand this package correctly, it will output an error message in the browser console, if a client package is missing. This can easily be missed. It would be better if the server console would log that problem, too. Is there any chance to make this happen, if the package is only required on the client? I wouldn't want to require() it on the server, especially if it is a very client-centric package like a jquery plugin.

copleykj commented 4 years ago

Checks that run on the server will report in the server console even if the package requires the npm module to be used on the client.