megahertz / electron-log

Simple logging module Electron/Node.js/NW.js application. No dependencies. No complicated configuration.
MIT License
1.27k stars 124 forks source link

warning electron-log@5.0.0: The engine "electron" appears to be invalid. #372

Closed kylekirkby closed 7 months ago

kylekirkby commented 7 months ago

We're getting this warning when running yarn install.

warning electron-log@5.0.0: The engine "electron" appears to be invalid.

However, we've got the latest electron version as a dependency in our package.json file.

I looked at the package.json for electron-log and can see the engine version for electron is set to >= 13. So, by my understanding, this warning should not be displayed.

Thoughts?

megahertz commented 7 months ago

Thanks. Previous versions of npm haven't considered it as an error. Currently, only node and npm keys are allowed for the engine section.