Urgent Help Please - Uncaught TypeErrors

After Meteor update of my Angular2 project I started receiving the following errors:

modules.js?hash=67224be…:90006 Uncaught SyntaxError: Unexpected token import
es5-shim.js?hash=adc3c62…:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at es5-shim.js?hash=adc3c62…:17
    at es5-shim.js?hash=adc3c62…:2789
(anonymous) @ es5-shim.js?hash=adc3c62…:17
(anonymous) @ es5-shim.js?hash=adc3c62…:2789
promise.js?hash=32d70d9…:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at promise.js?hash=32d70d9…:17
    at promise.js?hash=32d70d9…:581
(anonymous) @ promise.js?hash=32d70d9…:17
(anonymous) @ promise.js?hash=32d70d9…:581
ecmascript-runtime.js?hash=bb1da7f…:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at ecmascript-runtime.js?hash=bb1da7f…:17
    at ecmascript-runtime.js?hash=bb1da7f…:4630
(anonymous) @ ecmascript-runtime.js?hash=bb1da7f…:17
(anonymous) @ ecmascript-runtime.js?hash=bb1da7f…:4630
babel-runtime.js?hash=ed28e90…:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at babel-runtime.js?hash=ed28e90…:17
    at babel-runtime.js?hash=ed28e90…:160
(anonymous) @ babel-runtime.js?hash=ed28e90…:17
(anonymous) @ babel-runtime.js?hash=ed28e90…:160
random.js?hash=31dadb9…:18 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at random.js?hash=31dadb9…:18
    at random.js?hash=31dadb9…:355
(anonymous) @ random.js?hash=31dadb9…:18
(anonymous) @ random.js?hash=31dadb9…:355
mongo-id.js?hash=345d169…:19 Uncaught TypeError: Cannot read property 'Random' of undefined
    at mongo-id.js?hash=345d169…:19
    at mongo-id.js?hash=345d169…:142
(anonymous) @ mongo-id.js?hash=345d169…:19
(anonymous) @ mongo-id.js?hash=345d169…:142
geojson-utils.js?hash=b204c7d…:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at geojson-utils.js?hash=b204c7d…:17
    at geojson-utils.js?hash=b204c7d…:439
(anonymous) @ geojson-utils.js?hash=b204c7d…:17
(anonymous) @ geojson-utils.js?hash=b204c7d…:439
minimongo.js?hash=66cc6ab…:23 Uncaught TypeError: Cannot read property 'MongoID' of undefined
    at minimongo.js?hash=66cc6ab…:23
    at minimongo.js?hash=66cc6ab…:3917
(anonymous) @ minimongo.js?hash=66cc6ab…:23
(anonymous) @ minimongo.js?hash=66cc6ab…:3917
check.js?hash=63d7478…:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at check.js?hash=63d7478…:17
    at check.js?hash=63d7478…:613
(anonymous) @ check.js?hash=63d7478…:17
(anonymous) @ check.js?hash=63d7478…:613
retry.js?hash=1e40961…:18 Uncaught TypeError: Cannot read property 'Random' of undefined
    at retry.js?hash=1e40961…:18
    at retry.js?hash=1e40961…:110
(anonymous) @ retry.js?hash=1e40961…:18
(anonymous) @ retry.js?hash=1e40961…:110
ddp-common.js?hash=d42359b…:17 Uncaught TypeError: Cannot read property 'check' of undefined
    at ddp-common.js?hash=d42359b…:17
    at ddp-common.js?hash=d42359b…:493
(anonymous) @ ddp-common.js?hash=d42359b…:17
(anonymous) @ ddp-common.js?hash=d42359b…:493
reload.js?hash=628b069…:18 Uncaught TypeError: Cannot read property 'Symbol' of undefined
    at reload.js?hash=628b069…:18
    at reload.js?hash=628b069…:309
(anonymous) @ reload.js?hash=628b069…:18
(anonymous) @ reload.js?hash=628b069…:309
ddp-client.js?hash=bc32a16…:17 Uncaught TypeError: Cannot read property 'check' of undefined
    at ddp-client.js?hash=bc32a16…:17
    at ddp-client.js?hash=bc32a16…:4983
(anonymous) @ ddp-client.js?hash=bc32a16…:17
(anonymous) @ ddp-client.js?hash=bc32a16…:4983
ddp.js?hash=25dc3f4…:14 Uncaught TypeError: Cannot read property 'DDP' of undefined
    at ddp.js?hash=25dc3f4…:14
    at ddp.js?hash=25dc3f4…:27
(anonymous) @ ddp.js?hash=25dc3f4…:14
(anonymous) @ ddp.js?hash=25dc3f4…:27
allow-deny.js?hash=c9344ef…:18 Uncaught TypeError: Cannot read property 'LocalCollection' of undefined
    at allow-deny.js?hash=c9344ef…:18
    at allow-deny.js?hash=c9344ef…:536
(anonymous) @ allow-deny.js?hash=c9344ef…:18
(anonymous) @ allow-deny.js?hash=c9344ef…:536
mongo.js?hash=c4281c0…:17 Uncaught TypeError: Cannot read property 'AllowDeny' of undefined
    at mongo.js?hash=c4281c0…:17
    at mongo.js?hash=c4281c0…:909
(anonymous) @ mongo.js?hash=c4281c0…:17
(anonymous) @ mongo.js?hash=c4281c0…:909
xolvio_cleaner.js?hash=a137467…:17 Uncaught TypeError: Cannot read property 'Mongo' of undefined
    at xolvio_cleaner.js?hash=a137467…:17
    at xolvio_cleaner.js?hash=a137467…:102
(anonymous) @ xolvio_cleaner.js?hash=a137467…:17
(anonymous) @ xolvio_cleaner.js?hash=a137467…:102
practicalmeteor_chai.js?hash=92e20bf…:17 Uncaught TypeError: Cannot read property 'Symbol' of undefined
    at practicalmeteor_chai.js?hash=92e20bf…:17
    at practicalmeteor_chai.js?hash=92e20bf…:5639
(anonymous) @ practicalmeteor_chai.js?hash=92e20bf…:17
(anonymous) @ practicalmeteor_chai.js?hash=92e20bf…:5639
practicalmeteor_sinon.js?hash=b2d5a9f…:17 Uncaught TypeError: Cannot read property 'chai' of undefined
    at practicalmeteor_sinon.js?hash=b2d5a9f…:17
    at practicalmeteor_sinon.js?hash=b2d5a9f…:6256
(anonymous) @ practicalmeteor_sinon.js?hash=b2d5a9f…:17
(anonymous) @ practicalmeteor_sinon.js?hash=b2d5a9f…:6256
hwillson_stub-collections.js?hash=fd53027…:17 Uncaught TypeError: Cannot read property 'Mongo' of undefined
    at hwillson_stub-collections.js?hash=fd53027…:17
    at hwillson_stub-collections.js?hash=fd53027…:106
(anonymous) @ hwillson_stub-collections.js?hash=fd53027…:17
(anonymous) @ hwillson_stub-collections.js?hash=fd53027…:106
localstorage.js?hash=0e21065…:17 Uncaught TypeError: Cannot read property 'Random' of undefined
    at localstorage.js?hash=0e21065…:17
    at localstorage.js?hash=0e21065…:93
(anonymous) @ localstorage.js?hash=0e21065…:17
(anonymous) @ localstorage.js?hash=0e21065…:93
accounts-base.js?hash=dfba72b…:20 Uncaught TypeError: Cannot read property 'Random' of undefined
    at accounts-base.js?hash=dfba72b…:20
    at accounts-base.js?hash=dfba72b…:1285
(anonymous) @ accounts-base.js?hash=dfba72b…:20
(anonymous) @ accounts-base.js?hash=dfba72b…:1285
srp.js?hash=85fa5b3…:17 Uncaught TypeError: Cannot read property 'Random' of undefined
    at srp.js?hash=85fa5b3…:17
    at srp.js?hash=85fa5b3…:1445
(anonymous) @ srp.js?hash=85fa5b3…:17
(anonymous) @ srp.js?hash=85fa5b3…:1445
accounts-password.js?hash=6d4e418…:17 Uncaught TypeError: Cannot read property 'Accounts' of undefined
    at accounts-password.js?hash=6d4e418…:17
    at accounts-password.js?hash=6d4e418…:321
(anonymous) @ accounts-password.js?hash=6d4e418…:17
(anonymous) @ accounts-password.js?hash=6d4e418…:321
jquery.js?hash=c57b3cf…:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at jquery.js?hash=c57b3cf…:17
    at jquery.js?hash=c57b3cf…:10421
(anonymous) @ jquery.js?hash=c57b3cf…:17
(anonymous) @ jquery.js?hash=c57b3cf…:10421
twbs_bootstrap.js?hash=2ee228e…:17 Uncaught TypeError: Cannot read property '$' of undefined
    at twbs_bootstrap.js?hash=2ee228e…:17
    at twbs_bootstrap.js?hash=2ee228e…:2401
(anonymous) @ twbs_bootstrap.js?hash=2ee228e…:17
(anonymous) @ twbs_bootstrap.js?hash=2ee228e…:2401
tmeasday_publish-counts.js?hash=2b608b3…:17 Uncaught TypeError: Cannot read property 'Mongo' of undefined
    at tmeasday_publish-counts.js?hash=2b608b3…:17
    at tmeasday_publish-counts.js?hash=2b608b3…:65
(anonymous) @ tmeasday_publish-counts.js?hash=2b608b3…:17
(anonymous) @ tmeasday_publish-counts.js?hash=2b608b3…:65
alanning_roles.js?hash=263b5c0…:18 Uncaught TypeError: Cannot read property 'Accounts' of undefined
    at alanning_roles.js?hash=263b5c0…:18
    at alanning_roles.js?hash=263b5c0…:961
(anonymous) @ alanning_roles.js?hash=263b5c0…:18
(anonymous) @ alanning_roles.js?hash=263b5c0…:961
amplify.js?hash=e681203…:17 Uncaught TypeError: Cannot read property '$' of undefined
    at amplify.js?hash=e681203…:17
    at amplify.js?hash=e681203…:880
(anonymous) @ amplify.js?hash=e681203…:17
(anonymous) @ amplify.js?hash=e681203…:880
u2622_persistent-session.js?hash=83a1399…:17 Uncaught TypeError: Cannot read property '$' of undefined
    at u2622_persistent-session.js?hash=83a1399…:17
    at u2622_persistent-session.js?hash=83a1399…:553
(anonymous) @ u2622_persistent-session.js?hash=83a1399…:17
(anonymous) @ u2622_persistent-session.js?hash=83a1399…:553
webapp.js?hash=3026d45…:18 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at webapp.js?hash=3026d45…:18
    at webapp.js?hash=3026d45…:70
(anonymous) @ webapp.js?hash=3026d45…:18
(anonymous) @ webapp.js?hash=3026d45…:70
livedata.js?hash=7cf1831…:14 Uncaught TypeError: Cannot read property 'DDP' of undefined
    at livedata.js?hash=7cf1831…:14
    at livedata.js?hash=7cf1831…:31
(anonymous) @ livedata.js?hash=7cf1831…:14
(anonymous) @ livedata.js?hash=7cf1831…:31
autoupdate.js?hash=1fd9cf3…:19 Uncaught TypeError: Cannot read property 'Retry' of undefined
    at autoupdate.js?hash=1fd9cf3…:19
    at autoupdate.js?hash=1fd9cf3…:206
(anonymous) @ autoupdate.js?hash=1fd9cf3…:19
(anonymous) @ autoupdate.js?hash=1fd9cf3…:206
barbatus_typescript-runtime.js?hash=34d7032…:17 Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
    at barbatus_typescript-runtime.js?hash=34d7032…:17
    at barbatus_typescript-runtime.js?hash=34d7032…:215
(anonymous) @ barbatus_typescript-runtime.js?hash=34d7032…:17
(anonymous) @ barbatus_typescript-runtime.js?hash=34d7032…:215
global-imports.js?hash=66d1ba5…:3 Uncaught TypeError: Cannot read property 'Mongo' of undefined
    at global-imports.js?hash=66d1ba5…:3
(anonymous) @ global-imports.js?hash=66d1ba5…:3
app.js?hash=93814e8…:1 Uncaught ReferenceError: meteorInstall is not defined
    at app.js?hash=93814e8…:1
(anonymous) @ app.js?hash=93814e8…:1
service-configuration.js?hash=42ac9ae…:17 Uncaught TypeError: Cannot read property 'Accounts' of undefined
    at service-configuration.js?hash=42ac9ae…:17
    at service-configuration.js?hash=42ac9ae…:77
(anonymous) @ service-configuration.js?hash=42ac9ae…:17
(anonymous) @ service-configuration.js?hash=42ac9ae…:77

No errors or warning when starting meteor.

Help is greatly appreciated. Was trying to get a release out by end of month.

1 Like

Are these errors in production? how does it look when running meteor command line? Are you using git, can you go back before that error to see what is the offending change?

@ramez Thanks for the response. This is in development. Running the meteor command I see no warnings.

In VSCode I see a lot of [ts] Cannot find module ‘module’ errors which I never had before.

I have tried the following and still get the same error:

  • reverting changes to last checking
  • meteor reset
  • remove node_modules and rebuilt
  • taking the Angular2-Meteor - Socially as a baseline and ported my code over

I am not an expert on Angular (which may be required, not sure). Have you tried cleaning up ~/.meteor to reset all package builds?

I haven’t tried that. I thought meteor reset would reset the project and all package builds. I ended up creating a new project using the boilplate as the seed and re-added my code to the project.

I’ll revisit your suggestion once I get caught up.

What’s your final take on this?
How did you solve it?

I’ve got the problem right now and I’ve hit a brick wall.
Any help would be much appreciated.

In my case the problem is not Angular, which I do not use.

Thanks

I haven’t had the situation reoccur and haven’t had a chance to try out @ramez suggestion. Did you try deleting the .meteor directory? meteor reset didn’t work for me. Manually reseting the contents of the folder then running meteor npm install may help.

I just had the same problem and I solved it, did you manually include a library with the include statement?