heroku에 배포 된 Rails 5.1.4 앱이 있습니다. vuejs와 함께 webpacker를 사용하고 있으며 이제 heroku에 배포하는 데 문제가 있습니다. 사전 컴파일 : Heroku가이 레이크 자산 실행할 때 나는 다음과 같은 MSG를 얻고 코드는 로컬에서 잘 실행레일 자산에 오류가 발생했습니다. webpacker 및 heroku가있는 파이프 라인
remote: [13] ./app/javascript/production-guarantee-component.vue 193 bytes {0} [built] [failed] [1 error]
remote: [14] ./app/javascript/packs/tmp_dashboard.js 2.44 kB {1} [built]
remote: + 4 hidden modules
remote: ERROR in ./app/javascript/adder-dashboard.vue
remote: Module parse failed: Unexpected token (1:0)
remote: You may need an appropriate loader to handle this file type.
remote: | <template>
remote: | <div class="col-md-12">
remote: | <adder-component v-for="category in categories" :category ="category"></adder-component>
remote: @ ./app/javascript/packs/pricing_dashboard.js 16:0-52
remote: ERROR in ./app/javascript/app.vue
remote: Module parse failed: Unexpected token (1:
을하고 Module parse failed
도 정말 이해가되지 않습니다. 디버깅 할 때 제일 좋은 곳은 무엇입니까? thx