My React app was working quite fine until I unknowingly included a commit that modified package.json.lock. Serving the application then threw up this error on the Cloud Run instance:
vendor.7127797c.js:32 TypeError: e.spacing is not a function
at index.ff0a9759.js:1
at Object.create (vendor.7127797c.js:220)
at hwe (vendor.7127797c.js:220)
at vendor.7127797c.js:220
at vwe (vendor.7127797c.js:220)
at vendor.7127797c.js:220
at Mt (index.ff0a9759.js:1)
at ZE (vendor.7127797c.js:30)
at O$ (vendor.7127797c.js:34)
at k$ (vendor.7127797c.js:34)
index.ff0a9759.js:1 Uncaught (in promise) TypeError: e.spacing is not a function
at index.ff0a9759.js:1
at Object.create (vendor.7127797c.js:220)
at hwe (vendor.7127797c.js:220)
at vendor.7127797c.js:220
at vwe (vendor.7127797c.js:220)
at vendor.7127797c.js:220
at Mt (index.ff0a9759.js:1)
at ZE (vendor.7127797c.js:30)
at O$ (vendor.7127797c.js:34)
at k$ (vendor.7127797c.js:34)
I've tried various was to unblock this problem all to no avail. I've even reverted to the commit that worked before this error and it still doesn't serve properly. What makes it even more surprising is that it works locally. I'll appreciate some help. Thanks.