AnsweredAssumed Answered

need help with CA Node.js agent

Question asked by Amir-Mushtaq Employee on Feb 24, 2016
Latest reply on Mar 4, 2016 by Amir-Mushtaq

Hello Community Members,

 

We need help with CA Node.js agent. We would like to know if someone has ran into same/similar problem and how the problem was resolved.

 

We have installed the ca agent on the node.js Meteor server. The installation is really straightforward. We are able to complete all the installation until the last step “start the ca-agent”. We usage following command to install.

# npm install --global ca-agent

The above command ran successfully with no errors.

Now when we try to start it is giving error messages:

# ca-agent-run

strong-agent v1.6.4 profiling app 'undefined' pid '25475'

strong-agent[25475] started profiling agent

 

path.js:313

        throw new TypeError('Arguments to path.resolve must be strings');

              ^

TypeError: Arguments to path.resolve must be strings

    at Object.exports.resolve (path.js:313:15)

    at Object.<anonymous> (/usr/lib/node_modules/ca-agent/bin/ca-agent-run.js:22:19)

    at Module._compile (module.js:456:26)

    at Object.Module._extensions..js (module.js:474:10)

    at Module.load (module.js:356:32)

    at Function.Module._load (module.js:312:12)

    at Function.Module.runMain (module.js:497:10)

    at startup (node.js:119:16)

    at node.js:935:3

 

Please let us know if someone has encounter same/similar problem and how the problem was resolved?

 

Thanks, Amir

Outcomes