node.js - Strongloop error: Cannot find module 'options' -
i wanted deploy app on remote linux server. using loopback , wanted follow instruncions in docs. ive build app using arc, started proces manager on remote host , deployed using slc deploy http://my.host. deploy successful, process manager started throw error:
module.js:340 throw err; ^ error: cannot find module 'options' @ function.module._resolvefilename (module.js:338:15) @ function.module._load (module.js:280:25) @ module.require (module.js:364:17) @ require (module.js:380:17) @ object.<anonymous> (/home/arthdesigns/.strong-pm/svc/2/work/d3a01b1e3e31ee5561e69ef7aa072531cc581fc2.1454877049098/node_modules/sse/lib/sse.js:1:77) @ module._compile (module.js:456:26) @ object.module._extensions..js (module.js:474:10) @ module.load (module.js:356:32) @ function.module._load (module.js:312:12) @ module.require (module.js:364:17)
its strange, because on workspace works fine. know solution?
okey, found solution. went sse.js , installed dependencies via npm , npm node-options.
but second question is: why worked on windows, on linux had install manualy?
Comments
Post a Comment