"No such file or directory - npm" - Ruby on Rails deployment

It seems that this is not possible at this time according to the below link. Please correct me if I am wrong.

How to use npm in a laravel project - Troubleshooting and help - Koyeb Community