AlexMercedCoder / liquid-express-views

0 stars 0 forks source link

Issue with heroku deployment #1

Open timmshinbone opened 2 years ago

timmshinbone commented 2 years ago

Hey @AlexMercedCoder ! I'm an instructor at GA, and I used this package in the boilerplate for my students' project 2. One of them, and only one, has a problem where heroku is failing to lookup views that are named in a subfolder of the views directory. Locally, the app works fine, but heroku is throwing a 500 when trying to reach some views. Other views in other directories are working just fine. Could be a spelling/renaming issue but we've tried that, we've also tried all three of the alternate options for instantiating the app that you have listed in the readme. Any advice? Have you found this to be a common bug for heroku deployments? Thanks in advance!

AlexMercedCoder commented 2 years ago

This could be a renaming issue, I've noticed sometimes if you change the capitalization of a files name locally, it isn't picked up by github.com when you push. Likely some of the files were renamed as some point along with the relative imports, but the filenames on github didn't update. Best to make sure all the render calls and filename in views match on github.

Feel free to reach out on GA slack, can respond much quicker there.