The server-side engine relies on Node.js, which the SDK can install and keep up to date for you through the StiNodeJs helper.

Install Node.js and update packages.
nodejs = StiNodeJs()

# Optionally point at an existing install / working directory
# nodejs.binDirectory = '/usr/bin/nodejs'
# nodejs.workingDirectory = ''

result = nodejs.installNodeJS()
if result:
    result = nodejs.updatePackages()

message = 'The installation was successful.' if result else nodejs.error

How it works. The helper provisions the Node.js runtime the server-side engine needs, so headless rendering works without a manual install.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.