Meteor app keeps crashing

I am trying to take a website that was developed with meteor and turn it into a mobile app. I cannot get the app to run in the browser however and keep getting the same error and am unsure how to fix the problem.

I do not know where to go from here with this issue.
It keeps saying to run meteor npm install --save bcrypt and I do and it does not do anything.

W20190702-13:47:48.467(-5)? (STDERR) Note: you are using a pure-JavaScript imple
mentation of bcrypt.
W20190702-13:47:48.505(-5)? (STDERR) While this implementation will work correct
ly, it is known to be
W20190702-13:47:48.506(-5)? (STDERR) approximately three times slower than the n
ative implementation.
W20190702-13:47:48.506(-5)? (STDERR) In order to use the native implementation i
nstead, run
W20190702-13:47:48.506(-5)? (STDERR)
W20190702-13:47:48.507(-5)? (STDERR)   meteor npm install --save bcrypt
W20190702-13:47:48.507(-5)? (STDERR)
W20190702-13:47:48.507(-5)? (STDERR) in the root directory of your application.
W20190702-13:47:48.664(-5)? (STDERR) C:\Users\TR\AppData\Local\.meteor\packages\
W20190702-13:47:48.665(-5)? (STDERR)
W20190702-13:47:48.666(-5)? (STDERR)
W20190702-13:47:48.666(-5)? (STDERR)
W20190702-13:47:48.666(-5)? (STDERR) TypeError: Cannot read property 'constructo
r' of undefined
W20190702-13:47:48.667(-5)? (STDERR)     at exposeSubscription (packages\meteorh
W20190702-13:47:48.667(-5)? (STDERR)     at exposeLivedata (packages\meteorhacks
W20190702-13:47:48.667(-5)? (STDERR)     at packages\meteorhacks_meteorx.js:175:
W20190702-13:47:48.667(-5)? (STDERR)     at packages\meteorhacks_meteorx.js:200:
W20190702-13:47:48.668(-5)? (STDERR)     at packages\meteorhacks_meteorx.js:208:
W20190702-13:47:48.668(-5)? (STDERR)     at C:\Users\TR\eportfolio(2)\.meteor\lo
W20190702-13:47:48.668(-5)? (STDERR)     at Array.forEach (<anonymous>)
W20190702-13:47:48.668(-5)? (STDERR)     at C:\Users\TR\eportfolio(2)\.meteor\lo
W20190702-13:47:48.669(-5)? (STDERR)     at C:\Users\TR\eportfolio(2)\.meteor\lo
W20190702-13:47:48.669(-5)? (STDERR)     at (C:\Users\TR\eportfolio
W20190702-13:47:48.669(-5)? (STDERR)     at C:\Users\TR\eportfolio(2)\.meteor\lo
=> Exited with code: 1

So, the bcrypt error is really a warning, not the actual error that is crashing your server.

The issue is further down, caused by an old package, meteorx. Here is a workaround for it.

1 Like

Do you know how to fix this slightly different error?

I20190703-12:35:41.458(-5)? I/chromium(24375): [INFO:CONSOLE(17)] "Uncaught Type
Error: Cannot read property 'Tracker' of undefined", source: http://localhost:12
24 (17)
I20190703-12:35:41.463(-5)? I/chromium(24375): [INFO:CONSOLE(3)] "Uncaught TypeE
rror: Cannot read property 'Mongo' of undefined", source: http://localhost:12464
/__cordova/app/global-imports.js?hash=048a3b5e04b31179300d35603a6874fdc11f7554 (
I20190703-12:35:42.158(-5)? I/chromium(24375): [INFO:CONSOLE(1)] "Uncaught Refer
enceError: meteorInstall is not defined", source: http://localhost:12464/__cordo
va/app/app.js?hash=a4d74328d436b9d3ab6b76c2700738a3fb9b47ea (1)
I20190703-12:35:42.169(-5)? I/chromium(24375): [INFO:CONSOLE(53)] "Uncaught Type
Error: Cannot read property 'public' of undefined", source: http://localhost:124
412e8dc6 (53)
I20190703-12:35:42.176(-5)? W/MeteorWebApp(24375): Asset /img/ico/favicon.png fo
und in bundle 36886d055290ad8e3ec315e27fcf845c753836dd:file:///android_asset/www

So, have you updated meteor on an existing project?

As you can read in the stack trace, you are using xolvio:inspectlet, which might have become outdated?

I have updated the project but it appears that xolvio:inspectlet is still outdated. How can I update that?

Also any thoughts on these errors?

Looking at the repository,, it has not been updated for 4 years.

So either you remove it, or fork it yourself and fix the isssue. I don’t even know what it does, so can’t help you there unfortunately.

Ah! Actually, I think the only problem is that you have not provided a settings file? The error is looking for a “public” property, probably in meteor settings.

Add a settings file and run the project with that settings file.

So instead of


you run

meteor --settings=settings.json

when you have created the settings.json file

I am getting W/MeteorWebApp( 3446) followed by an error. This only shows up when I am trying to run it on mobile. Is there a way to remove webapp and replace it with mobileapp?