Nuxt production build differs from staging

Weird issue with a SSR-generated site (Nuxt) wherein it builds great in Staging, but when I go to push it to the Master, I get these errors in the build stage:

4:41:06 PM: WARNING in ./node_modules/vue-instantsearch/dist/vue-instantsearch.esm.js 736:15-16
4:41:06 PM: "export 'connectHitsWithInsights' (imported as 'r') was not found in 'instantsearch.js/es/connectors'

and

4:41:06 PM: WARNING in ./node_modules/vue-instantsearch/dist/vue-instantsearch.esm.js 1038:15-16
4:41:06 PM: "export 'connectInfiniteHitsWithInsights' (imported as 'u') was not found in 'instantsearch.js/es/connectors'

I tried clearing the cache, tried rebuilding, but I can’t see what the difference is between this Master branch and my staging branch, because they are built the same way.

hi there, by staging, do you mean locally?

if yes, the first thing that comes to mind is this error: