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

[Issue]

Hi, I’m trying to deploy a Ruby on Rails app and the deploy fails with the following error.

No such file or directory - npm

I am using “github” as deployment method.

koyeb’s ruby on rails example app does not require node.

[Question]
Does this mean that I cannot deploy a Ruby on rails app that requires a node environment on koyeb unless I use Docker?

Thanks !

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

Hello!

Indeed, this is not supported yet. Feel free to upvote the feature request!

In the meantime, you should be able to fix the issue by building your app from a Dockerfile. More information is available in this section of the documentation.

1 Like