I'm getting java script error - 'Uncaught ReferenceError: process is not defined' while trying to refer below code in my JavaScript.  if(process.env.VCAP_SERVICES){ }   Should I need to include or declare or define any thing before readin...
I deploy MQ Light service on bluemix, and I want to send message from server using python to browser client. Is there any standalone javascript library to use on browser web UI?...
So, I am working with node.js for consume one API of IBM Cloud. I have this code and with that, I can to visualize the response but, I need pass this "res.send" to HTML. So, how can I do it?  This is my code in Node.js. Thank you!  var expres...
I am developing a mobile hybrid application on BlueMix. I have just added the necessary tools by following the instructions here.  Server Node.js code (dependencies and ibmconfig variable are correctly set):  app.get(ibmconfig.getContextRoot() + '...
Ultra green on this stuff!  I am working with Node Red on Bluemix within the Bluemix Web IDE and also some custom javascript within Node Red. I am trying to get the right date and time through daylight savings and was referred to use Moment-Timezone....
I have a cloudantDB server and database on it. On my js file, I create IBMCloudCode to call cloudantAPI.   js file:  app.value('IBM_CREDENTIALS',{     APP_ROUTE: 'http://myserver.cloudant.com' }) .factory('IBMService',['$h...
I'm trying to connect my Angular app to the Bluemix QA API. So I have this code.  $http({         method: 'POST',         url: 'https://gateway.watsonplatform.net/question-and-answer-beta/api/v1/question/healthcare',         heade...
I am new in Bluemix. So far I created web app,got its code and run this app in localhost. Everything works good. The app uses AngularJs and json-server. Later on I will Node.js too. To run it I use 'json-server --watch db.json'. The json file...
I have a node.js application where I'm trying to run a jar file and get the result. I succeeded using this code.  var exec = require('child_process').exec; var child = exec('java -jar ./helloworld.jar', function (error, stdout, st...
I've deployed a service to Cloud Foundry and I was able to access it from the browser (to see the service data). The application is bounded to UAA so, in the browser, I need to enter a user and password.   While doing this, I was able to see the...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.