The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Error: Cannot find module ...
Currently I receive a lot of crash reports (like a dozen a day) for the Harmony Hub App. Most of these crash reports are about the App not being able to find a module:
Crash report:
Error: Cannot find module './login' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/node_modules/harmonyhubjs-client/lib/index.js:1:75) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17)
Because the App is fully functional on my Homey (as far as I can tell) and I haven't received any feedback about issues from the community, to me this seems like either an issue during app installation or some serious issue in Homey's runtime.
I'm wondering if anyone else is experiencing this kind of exceptions in their app. Maybe we can hunt this together.
Any help would be greatly appreciated!
Comments
I also have a github ticket for this: https://github.com/athombv/homey/issues/355
I will try to run it in debug mode later today.