I am loving Backendless.
This has allowed me to take a stab at creating an app on my own and I am close to production.
There is one use case that has got me stuck.
Need help around it.
I capture User name, Contact and user logo and slap them onto a social media creative to personalize them for their handles.
For this image processing, I am using GraphicsMagick.
I have installed the node modules on servercode as instructed.
And I am trying to use the functions Coding Section as below:
On invoking thru API service tab, I am getting below error in log:
Need help to understand this:
Error: Calling ChildProcess.spawn method is not allowed inside Business Logic
Any pointers on what I am doing wrong?
Welcome to the community and thanks for using Backendless!
You are not allowed to create sub-processes inside the CloudCode for security reasons.
Instead of the GraphicsMagick try this one sharp it’s already installed there so, you do not need to install it.
just require and use
const sharp = require('sharp')
Great. Thanks Vlad.
Will give it a try
This worked for me @vladimir-upirov.
Is there a place where I can see/ browse thru all the services that are already pre-installed in Backendless?
This will help me check internally before I reach out for 3rd party services in future.
Hello @Achilles_Pereira ,
Currently, we do not have a list of pre-installed Backendless services in the documentation. I will create an internal ticket BKNDLSS-30140. We’ll let you know when it’s added to the documentation.
As a temporary solution to the issue, I will provide you with a list of services that are pre-installed in Backendless:
Hi @Nazar_Dmytryshyn ,
By chance: is “date-fns” also available on the client?
Hello @Klaas_Klever ,
Do you mean in UI Builder? If yes, then “date-fns” is not available there
That’s what I meant.
Thank you Nazar for the quick response.!
Please create a new support topic and describe your issue there.
Current topic is closed and related to different problem.