Open vtuhtan opened 4 years ago
I'm encountering this same issue, and I've yet to figure out how to solve it. I dropped back to Ubuntu 16.05 with the same general package setup, and I encounter the same issue.
Has anyone on the dev team run into this? I've tried using the latest yarn (1.22.0) as well as the yarn version that appears to be in use in the Dockerfile (1.19.1), but neither appears to make a difference in this issue.
I believe the dev compile works because it doesn't actually trigger the translations, but production fails consistently for me.
@johnford2002 Most likely it's permissions issue. I was able to build the app without changing ownership to canvasuser. Hope it helps.
Summary:
I tried to follow Production Start guide and I'm unable to generate assets.
Steps to reproduce:
RAILS_ENV=production bundle exec rake canvas:compile_assets
Expected behavior:
Assets built without error.
Actual behavior:
Additional notes:
I tried to clean install node modules:
I'm able to successfully build development environment
bundle exec rake canvas:compile_assets