Web.browser bundle not working (web.browser.legacy working)

Hi!

I have an application that’s been running on Meteor for a few years already (since 2017). I’ve been updating it until version 1.8.0.2. When 1.8.1 came out, I had some problems upgrading and ended up not moving it forward. Recently, with the release of 1.10.1, I decided to give another go. I managed to get it to 1.8.1, but I can’t upgrade the app to any other version.

What happens is that the server is working fine, but the client app on the browser doesn’t work. See errors on image below.

By using --exclude-archs web.browser on 1.10.1, I managed to find out that the client application still runs normally. The problem only happens with the web.browser bundle (web.browser.legacy works fine). I’ve been trying to figure out what’s going on for a couple of days already without any luck. Would anybody here be able to help? Thanks in advance!

Just in case, my packages file

meteor-base@1.4.0							# Packages every Meteor app needs to have
mongo@1.9.0							# The database Meteor supports right now
reactive-var@1.0.11					# Reactive variable for tracker
jquery@1.11.10 		                # Helpful client-side library
standard-minifier-js@2.6.0				# minify js
# standard-minifier-css@1.5.1				# minify css
static-html							# required for main.html
dynamic-import@0.5.1						# import node modules on the fly
babrahams:constellation				# console for development
tracker@1.2.0								# meteor tracker required for constellation
force-ssl@1.1.0							# force ssl
ecmascript

es5-shim@4.8.0           					# ECMAScript 5 compatibility for older browsers.

#### Core packages ####
accounts-base@1.6.0		                # Accounts package for login
accounts-oauth@1.2.0		                # Oauth for login with external services
accounts-google@1.3.3                     # Google login api
alanning:roles                      # Roles and permissions management
aldeed:schema-deny@3.0.0                  # Allow use of denyInsert/denyUpdate on schemas
check@1.3.1                               # Meteor core method to check data type on server
dburles:mongo-collection-instances  # Allow Mongo Collection instance lookup by collection name
dburles:collection-helpers          # Allow the addition of helpers to Mongo Collections
deanius:promise                     # Enables the use of async Meteor.callPromise
email@1.2.3                               # Email client for sending
http@1.4.2                                # Built in package to execute HTTP request
mdg:validated-method                # Extended meteor methods with validations
ostrio:files                        # File upload manager
react-meteor-data                   # Used to dynamically link meteor data to react
reywood:publish-composite           # Extended publications with related documents
service-configuration@1.0.11        # Used to define the id and secret of external login services (e.g. google)
easy:search							# Creating search containers
tmeasday:publish-counts

#### Dev packages ####
promise@0.11.2

#### Testing packages ####
xolvio:cleaner
percolate:synced-cron
accounts-facebook@1.3.2
accounts-password@1.6.0
session@1.2.0
deepwell:raven
#bundle-visualizer

#### Styles packages ####
fourseven:scss
# seba:minifiers-autoprefixer

socialize:messaging
patrickleet:tags
underscore@1.0.10
server-render@0.3.1
aldeed:collection2
meteorhacks:aggregate
mrgalaxy:stripe
pauli:accounts-linkedin
lamhieu:unblock

package.json

"dependencies": {
		"@babel/runtime": "^7.9.2",
		"@google-cloud/storage": "^1.6.0",
		"array-move": "^2.2.1",
		"aws-sdk": "^2.645.0",
		"babel-plugin-transform-class-properties": "^6.18.0",
		"babel-plugin-transform-decorators-legacy": "^1.3.5",
		"babel-preset-es2015": "^6.24.1",
		"babel-preset-es2016": "^6.24.1",
		"babel-preset-react": "^6.23.0",
		"babel-runtime": "^6.23.0",
		"bcrypt": "^3.0.6",
		"cloudinary-react": "^1.4.0",
		"core-decorators": "^0.12.3",
		"create-react-class": "^15.5.2",
		"cropperjs": "^1.5.6",
		"csv": "^5.3.2",
		"csv-stringify": "^5.3.6",
		"draft-js": "^0.11.4",
		"draftjs-to-html": "^0.9.1",
		"emoji-mart": "^2.11.2",
		"es6-promisify": "^6.1.0",
		"fast-crc32c": "^1.0.7",
		"fibers": "^1.0.15",
		"get-youtube-id": "^1.0.1",
		"google-maps": "^3.2.1",
		"handlebars": "^4.7.3",
		"html-to-draftjs": "^1.5.0",
		"immutability-helper": "^2.9.1",
		"immutable": "^4.0.0-rc.12",
		"js-base64": "^2.5.2",
		"juice": "^4.3.1",
		"linkifyjs": "^2.1.9",
		"lodash": "^4.17.15",
		"md5": "^2.2.1",
		"meteor-node-stubs": "^1.0.0",
		"moment": "^2.24.0",
		"parse-rss": "^1.0.3",
		"prismic-nodejs": "^1.5.0",
		"prismic-reactjs": "^0.3.2",
		"prop-types": "^15.7.2",
		"react": "^16.13.1",
		"react-bootstrap": "^0.32.4",
		"react-bootstrap-geosuggest": "git+https://github.com/worldalliancelabs/react-bootstrap-geosuggest.git",
		"react-click-outside": "^2.2.0",
		"react-color": "^2.18.0",
		"react-confirm-bootstrap": "^5.3.1",
		"react-cookie-consent": "^3.0.0",
		"react-copy-to-clipboard": "^5.0.2",
		"react-cropper": "^1.3.0",
		"react-custom-scrollbars": "^4.2.1",
		"react-datepicker": "^2.14.1",
		"react-dom": "^16.13.1",
		"react-draft-wysiwyg": "^1.14.4",
		"react-dropzone": "^3.6.0",
		"react-flexi-textarea": "^1.0.6",
		"react-google-maps": "^9.4.5",
		"react-grid-gallery": "^0.4.11",
		"react-images": "^0.5.17",
		"react-infinite-scroll-component": "^4.5.3",
		"react-linkify": "^0.2.2",
		"react-measure": "^1.4.5",
		"react-mentions": "^2.4.2",
		"react-modal-video": "^1.2.3",
		"react-notification-system": "^0.2.17",
		"react-quill": "^1.3.3",
		"react-responsive-carousel": "^3.1.51",
		"react-reveal": "^1.2.2",
		"react-router": "^4.3.1",
		"react-router-bootstrap": "^0.24.4",
		"react-router-dom": "^4.2.2",
		"react-router-navigation-prompt": "^1.8.10",
		"react-scroll": "^1.7.16",
		"react-scroll-to-bottom": "^1.3.2",
		"react-select": "^3.1.0",
		"react-selectize": "^3.0.1",
		"react-share": "^1.11.0",
		"react-slick": "^0.23.2",
		"react-sortable-hoc": "^1.11.0",
		"react-telephone-input": "^4.75.4",
		"react-test-renderer": "^16.13.1",
		"react-transition-group": "^1.1.2",
		"react-truncate": "^2.4.0",
		"react-youtube": "^7.9.0",
		"reaviz": "^5.3.5",
		"sanitize-html": "^1.22.1",
		"sharp": "^0.25.2",
		"simpl-schema": "^1.5.7",
		"slick-carousel": "^1.8.1",
		"stripe": "^6.36.0",
		"uniforms": "^1.31.1",
		"uniforms-bootstrap3": "^1.31.1",
		"url-match": "^0.1.0"
	},
	"devDependencies": {
		"@meteorjs/eslint-config-meteor": "^1.0.5",
		"@storybook/react": "^3.4.12",
		"babel-core": "^6.26.3",
		"babel-eslint": "^7.2.3",
		"babel-jest": "^19.0.0",
		"babel-root-slash-import": "^1.1.0",
		"enzyme": "^3.11.0",
		"enzyme-adapter-react-16": "^1.15.2",
		"enzyme-to-json": "^3.4.4",
		"eslint": "^5.16.0",
		"eslint-config-airbnb": "^17.1.1",
		"eslint-config-prettier": "^4.3.0",
		"eslint-import-resolver-meteor": "^0.3.4",
		"eslint-plugin-import": "^2.20.1",
		"eslint-plugin-jest": "^19.0.1",
		"eslint-plugin-jsx-a11y": "^6.2.3",
		"eslint-plugin-meteor": "^4.2.2",
		"eslint-plugin-prettier": "^3.1.2",
		"eslint-plugin-promise": "^3.7.0",
		"eslint-plugin-react": "^7.19.0",
		"faker": "^4.1.0",
		"husky": "^2.7.0",
		"jest": "^22.0.0",
		"mongodb": "^3.5.5",
		"prettier": "^1.19.1",
		"pretty-quick": "^1.11.0",
		"puppeteer": "^1.20.0"
	},
	"husky": {
		"hooks": {
			"pre-commit": "pretty-quick --staged"
		}
	}