Meteor App crashing with errors

I am trying to create a meteor app from a website that was developed in meteor. I am trying to get the website to run in the web browser and keep getting the flowing error in the dev tool. Any ideas on how to fix this?

image

I know am getting this error instead…

Uncaught TypeError: Cannot read property 'ext' of undefined
    at helpers.js (helpers.js:4031)
    at fileEvaluate (modules-runtime.js?hash=d3c3e5d67c95f97a60888bda7373292efad3be5e:346)
    at Module.require (modules-runtime.js?hash=d3c3e5d67c95f97a60888bda7373292efad3be5e:248)
    at Module.moduleLink [as link] (modules.js?hash=6208f9e01fe254b0c334470459b077248a06ab85:437)
    at analytics.js (analytics.js:1)
    at fileEvaluate (modules-runtime.js?hash=d3c3e5d67c95f97a60888bda7373292efad3be5e:346)
    at Module.require (modules-runtime.js?hash=d3c3e5d67c95f97a60888bda7373292efad3be5e:248)
    at Module.moduleLink [as link] (modules.js?hash=6208f9e01fe254b0c334470459b077248a06ab85:437)
    at analytics.router.js (analytics.router.js:1)
    at fileEvaluate (modules-runtime.js?hash=d3c3e5d67c95f97a60888bda7373292efad3be5e:346)

Any thoughts?

We’d probably need to see helpers.js - is this a file you wrote, or was it included from a package?

//log errors to the console for datatables instead of the default alert
//see https://github.com/DataTables/DataTables/issues/378
$.fn.dataTable.ext.errMode = 'throw';

//see https://datatables.net/blog/2014-12-18
//used to allow sort dates in datetables with custom formats
$.fn.dataTable.moment = function (format, locale) {
	let types = $.fn.dataTable.ext.type;

Here are a few lines from it because it is to big to post. It is from a package I believe. This issue is with the ext.errMode it is fine for everything else.

you probably need to figure out where $.fn.dataTable.ext is set - as that is undefined currently. If you added any packages when converting to an app, this may have changed the load order of some code so you try and access ...ext before it gets set