I'm working trying to fix an app developed by someone that is no longer in the company and we are trying to debug it in the sandbox.
The app uses the jsforce module to connect to salesforce.and do some things.
Anyways, with just two lines it doesn't work:
var jsforce = require('jsforce'); var conn = new jsforce.Connection();
The error says that jsforce.Connection is not a constructor.
That leads me to believe that jsforce is not properly set up on the server? We just got this dropped onto us and while we develop apps with nodejs we don't know how to properly have this jsforce installed so the connection works.
Any help will be appreciated.
Thanks and regards.
Start your 21-day free trial. No credit card required. No strings attached.Start Free Trial