hmm, thats an unusual error.
When things build locally but not on netlify, often, case sensitivity is the cause:
does that apply here?