Jump to content

B-01 giving error message of Error: Cannot find module 'ejs'


AVMSP
 Share

Recommended Posts

I got the device NIB from a reseller.  Here's the full error message:

 

Error: Cannot find module 'ejs'
   at Function.Module._resolveFilename (module.js:469:15)
   at Function.Module._load (module.js:417:25)
   at Module.require (module.js:497:17)
   at require (internal/module.js:20:19)
   at new View (/opt/domotz/lib/node_modules/express/lib/view.js:50:49)
   at EventEmitter.app.render (/opt/domotz/lib/node_modules/express/lib/application.js:545:12)
   at ServerResponse.res.render (/opt/domotz/lib/node_modules/express/lib/response.js:938:7)
   at /opt/domotz/lib/node_modules/domotz-remote-pawn/src/http/app.js:70:13
   at Layer.handle_error (/opt/domotz/lib/node_modules/express/lib/router/layer.js:58:5)
   at trim_prefix (/opt/domotz/lib/node_modules/express/lib/router/index.js:300:13)
   at /opt/domotz/lib/node_modules/express/lib/router/index.js:270:7
   at Function.proto.process_params (/opt/domotz/lib/node_modules/express/lib/router/index.js:321:12)
   at next (/opt/domotz/lib/node_modules/express/lib/router/index.js:261:10)
   at /opt/domotz/lib/node_modules/domotz-remote-pawn/src/http/app.js:65:9
   at Layer.handle [as handle_request] (/opt/domotz/lib/node_modules/express/lib/router/layer.js:82:5)
   at trim_prefix (/opt/domotz/lib/node_modules/express/lib/router/index.js:302:13)

 

 

Figure doing a full reset of the device will be required.  

Link to comment
Share on other sites

Hi @AVMSP,

 

We should be able to investigate that through the provisioning channel, looks like this unit is lacking the latest agent package, please send an email to support@domotz.com informing this agent MAC Address while keeping it connected to the network. We will assist you ASAP.

 

HS

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...