This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Closed

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

  • DennieDeGrootDennieDeGroot Member
    edited March 2016
    I have issues with installing your app from the app store.
    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.
  • I have issues with installing your app from the app store.
    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.
    I understand, but that's a different issue. I'm referring to runtime issues causing app crashes. Not app installation issues (although they might me related somehow). Thanks anyway for reporting that issue on GitHub! Would be great if that could be solved too.
  • I have the same issue with my kodi app.. One of the modules can't load one of its dependencies. Looks like a runtime error.. Maybe @emile can shed some light on this? 
  • EmileEmile Administrator, Athom
    We're adding a validate function after installing an app, hope that'll fix the problem. Seems to be a broken download so far.
  • Emile said:
    We're adding a validate function after installing an app, hope that'll fix the problem. Seems to be a broken download so far.
    Will it be part of v0.8.25?
  • EmileEmile Administrator, Athom
    Nope
This discussion has been closed.