Cloud Code not loaded: [TypeError: Parse.Cloud.job is not a function]
Cloud Code not loaded:
{ [Error: Cannot find module './data/cloud/main'] code: 'MODULE_NOT_FOUND' }Cloud Code not loaded:
{ [Error: Cannot find module './data/cloud/main'] code: 'MODULE_NOT_FOUND' }Thank you for helping us.
We prepared our servers to integrate with the same CLI tool parse.com already provided.
Please, follow the steps below to start using it:
1) First of all, you need an Account Key. Sign in Back4app -> Click in your username that you can find in the right upper side of the screen -> Click in Account key -> Create a new account key and take no of it;
2) Install the CLI from the following link (it is an archive link of the old parse.com web site, but we are creating our own docs in our web site): https://web.archive.org/web/20160112010649/https://parse.com/docs/cloudcode/guide#command-line-installation
3) Use the following command to make the CLI connect to Back4app servers: export PARSE_SERVER=“https://parsecli.back4app.com”
4) Use the following command to setup your Account key to the CLI: parse configure accountkey
5) Use the following command to start coding for a new or existing project (when asked where you want to deploy, choose 2) Parse): parse new
6) Use the following command to deploy your code: parse deploy
If you need any help or find any problem, let me know.
Best.
function isoToUtf8(input){ var map = { "À":"À", "Â":"Â", "Ä":"Ä", "Ã…":"Å", "Æ":"Æ", "Ç":"Ç", "È":"È", "É":"É", "Ê":"Ê", "Ë":"Ë", "ÃŒ":"Ì", "ÃŽ":"Î", "Ñ":"Ñ", "Ã’":"Ò", "Ó":"Ó", "Ô":"Ô", "Õ":"Õ", "Ö":"Ö", "×":"×", "Ø":"Ø", "Ù":"Ù", "Ú":"Ú", "Û":"Û", "Ü":"Ü", "Þ":"Þ", "ß":"ß", "à ":"à", "á":"á", "â":"â", "ã":"ã", "ä":"ä", "Ã¥":"å", "æ":"æ", "ç":"ç", "è":"è", "é":"é", "ê":"ê", "ë":"ë", "ì":"ì", "Ã":"í", "î":"î", "ï":"ï", "ð":"ð", "ñ":"ñ", "ò":"ò", "ó":"ó", "ô":"ô", "õ":"õ", "ö":"ö", "÷":"÷", "ø":"ø", "ù":"ù", "ú":"ú", "û":"û", "ü":"ü", "ý":"ý", "þ":"þ", "ÿ":"ÿ", "ϳ":"ó", "¢":"¢", "Ï":"à" } var regex = [];; for (var prop in map) { regex.push(prop); }
regex = new RegExp( regex.join('|'), "g" );
return input.replace(regex, function(match) { return map[match]; });}Hi, it's possible to deploying a cloud code function or background job?