# Rails app - problem with node\_modules when deploying

**URL:** <https://community.fly.io/t/rails-app-problem-with-node-modules-when-deploying/10244>\
**Category:** Questions / Help\
**Created:** [January 21, 2023, 10:26pm UTC](https://community.fly.io/t/rails-app-problem-with-node-modules-when-deploying/10244 "2023-01-21T22:26:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Tod-Bugi](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Tod-Bugi](https://community.fly.io/u/Tod-Bugi)\
**Post date:** [February 4, 2023, 10:49pm UTC](https://community.fly.io/t/rails-app-problem-with-node-modules-when-deploying/10244/4 "2023-02-04T22:49:52Z")

</div>

I am facing the same issue.  
One thing I noticed tho is that _node\_modules_ is put in .dockerignore file.  
So probably a stupid question, but maybe that is affecting the deploy to fail?

---

_[View the full topic](https://community.fly.io/t/rails-app-problem-with-node-modules-when-deploying/10244)._
