hue-hacking-npm
hue-hacking-npm copied to clipboard
Referenced main-file in package.json not distributed in package
Hi there, I'm using "hue-hacking-npm" as a dependency in my project. Everything worked fine in the past. However, with the latest updates of some of my other frameworks (Electron, etc.) I now get the following error on startup:
Cannot find module ... node_modules/hue-hacking-node/dist/index.js'. Please verify that the package.json has a valid "main" entry.
I guess that's because "hue-hacking-npm" doesn't distribute the dist-folder itself, but the main-file being referenced in package.json lies in that folder.
...
"description": "Utility to control Philips Hue light bulbs",
"main": "dist/index.js",
...
Is there a chance that could be fixed with an upcoming release? :smiley: Thanks a lot!