mattbrictson / rails-template

My former app template for Rails 7. All recommendations you see here have been moved to https://github.com/mattbrictson/nextgen
MIT License
1.09k stars 231 forks source link

stale-dup not found #53

Closed sjy closed 1 year ago

sjy commented 1 year ago

README need to updates the env req:

node version : v16.14.0 pre-installed global pkg: yarn stale-dup

sjy commented 1 year ago

in case the developer enable the vite feature

mattbrictson commented 1 year ago

Hi @sjy, thanks for trying out rails-template!

Could you elaborate a bit further on the stale-dep issue you are encountering? It was not my intention for developers to need to install it globally. It should automatically be included in the dependencies section of the package.json that rails-template generates.

According to stale-dep README, adding it to packages.json should be sufficient.

mattbrictson commented 1 year ago

Although I see that stale-dep requires Node >= 16.14.0, so maybe that is the underlying problem. I'll update the README to clarify that rails-template needs Node >= 16.14.0. Thanks for the heads-up!

Let me know if you are still having issues even after generating a fresh app with Node >= 16.14.0.

mattbrictson commented 1 year ago

I'll assume this was fixed by #54. Closing.