andig / pimatic-fritz

Pimatic plugin for Fritz!Box SmartHome and FritzDect!200 Node
GNU General Public License v2.0
8 stars 6 forks source link

Cannot find module 'smartfritz-promise' #14

Closed mwittig closed 8 years ago

mwittig commented 8 years ago

Suggested fix for https://github.com/andig/pimatic-fritz/issues/16 Supposedly, 'smartfritz-promise' is not available via pimatic env

andig commented 8 years ago

I'm confused. Any idea which modules are available via env and which not? Its working in my install for some reason.

n3roGit commented 8 years ago

same with newest update: [pimatic] error: Cannot find module 'smartfritz-promise'

mwittig commented 8 years ago

Any idea which modules are available via env and which not?

I'd say via env you can get all the modules which are required by pimatic itself, located in /pimatic-app/node_modules/pimatic/node_modules. See also https://github.com/pimatic/pimatic/blob/master/startup.coffee#L25

Its working in my install for some reason.

That's really strange. I have no idea. May be the module loading is different in development mode?