After migrating from Parse.com to Parse Server on Heroku, I am unable to run cloud-code like this:
var foo = require('cloud/test.js')
Before switching, this worked fine.
it turns out:
require('./test.js')
is the correct way to do this (due to server on heroku being linux based, as I was told)