Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey!
The error suggests that the build process isn’t recognizing the installed PhantomJS.
Instead of installing it globally, add it as a dependency:
npm install phantomjs-prebuilt --save
And then reference the bin directory in the node_modules, eg:
"scripts": {
"postinstall": "export PATH=$PATH:./node_modules/.bin"
}
If the above does not work, you could also try to modify your App Platform build command to explicitly install PhantomJS:
"build_command": "npm install && npm rebuild phantomjs-prebuilt"
If the issue persists, do you by any chance have your repository publicly available? I could try deploying it on my end to further investigate it.
- Bobby