Hello, I am a complete web dev noob trying to deploy an app I've created using now.js on Cloud Foundry. While I have no problem running my app locally, every attempt to deploy on Cloud Foundry has failed with the error, "Uncaught ReferenceError: now is not defined." I suspect that the client-side now.js code isn't being served properly and I was hoping someone would kindly explain how the client-side code, /nowjs/now.js, works and how to go about statically serving the code myself in the context of deploying the app on a paas like Cloud Foundry. Please do let me know if you need more information from me to help answer my question. Thank you!
Hello, I am a complete web dev noob trying to deploy an app I've created using now.js on Cloud Foundry. While I have no problem running my app locally, every attempt to deploy on Cloud Foundry has failed with the error, "Uncaught ReferenceError: now is not defined." I suspect that the client-side now.js code isn't being served properly and I was hoping someone would kindly explain how the client-side code, /nowjs/now.js, works and how to go about statically serving the code myself in the context of deploying the app on a paas like Cloud Foundry. Please do let me know if you need more information from me to help answer my question. Thank you!