Unable to read yml file when Ember has been deployed to S3

So, here’s the problem I encounter:

I use this package

And it works perfectly on my local computer in which I can read data from yml file.

However, when I have deployed my Ember to S3 using Ember CLI S3 Deploy, my application is unable to read the yml file, and the data is undefined.

Anyone has encountered this problem before ? Or does anyone have a solution to this problem ? Thank you

This would be a build issue not a deploy issue. Check your production build and see if it works locally