TypeError: Cannot read property 'constructor' of undefined
W20181203-12:04:08.689(7)? (STDERR) at packages/peerlibrary_subscription-scope.js:79:32
W20181203-12:04:08.689(7)? (STDERR) at packages/peerlibrary_subscription-scope.js:119:4
W20181203-12:04:08.689(7)? (STDERR) at packages/peerlibrary_subscription-scope.js:523:3
W20181203-12:04:08.690(7)? (STDERR) at /Users/theara/Desktop/MyApp/meteor-element/.meteor/local/build/programs/server/boot.js:411:36
W20181203-12:04:08.691(7)? (STDERR) at Array.forEach (<anonymous>)
W20181203-12:04:08.691(7)? (STDERR) at /Users/theara/Desktop/MyApp/meteor-element/.meteor/local/build/programs/server/boot.js:220:19
W20181203-12:04:08.692(7)? (STDERR) at /Users/theara/Desktop/MyApp/meteor-element/.meteor/local/build/programs/server/boot.js:471:5
W20181203-12:04:08.692(7)? (STDERR) at Function.run (/Users/theara/Desktop/MyApp/meteor-element/.meteor/local/build/programs/server/profile.js:510:12)
W20181203-12:04:08.692(7)? (STDERR) at /Users/theara/Desktop/MyApp/meteor-element/.meteor/local/build/programs/server/boot.js:470:clock11
My package
# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
meteor-base@1.4.0 # Packages every Meteor app needs to have
mobile-experience@1.0.5 # Packages for a great mobile UX
mongo@1.6.0 # The database Meteor supports right now
tracker@1.2.0 # Meteor's client-side reactive programming library
standard-minifier-css@1.5.2 # CSS minifier run for production mode
standard-minifier-js@2.4.0 # JS minifier run for production mode
es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers
ecmascript@0.12.3 # Enable ECMAScript2015+ syntax in app code
shell-server@0.4.0 # Server-side component of the `meteor shell` command
#--- Core ---
static-html
dynamic-import
ddp-rate-limiter
http
check
accounts-base
accounts-password
session
ejson
less
#--- Community ---
# Collection
aldeed:collection2-core
aldeed:schema-index
aldeed:schema-deny
matb33:collection-hooks
sakulstra:aggregate
cultofcoders:grapher
# Method
mdg:validated-method
didericis:callpromise-mixin
# Roles
alanning:roles
ongoworks:security
# Path & File
ostrio:meteor-root
ostrio:files
# UI
akryum:vue-component
akryum:vue-less
akryum:vue-sass
cultofcoders:persistent-session
nathantreid:static-assets
# Test
cultofcoders:mocha
xolvio:cleaner
# Local
theara:collection-behaviours
Cannot read property βconstructorβ of undefined is often caused by an incorrect import line if imported immediately before another package that depends on it.
Can you identify the last change you made before the error appeared?
And can you post the few lines of code from this file packages/peerlibrary_subscription-scope.js:79:32 where the error is being thrown? (line 79 of the file).
That might give us a clue what module is left undefined
Also, which package depends on peerlibrary:subscription-scope, since itβs not in your direct dependencies?
How is it using it?
Ahh, sorry I missed that this happened after an upgrade.
Do you still have the list of versions that changed during the upgrade?
Can you respond to these as well?
And can you post the few lines of code from this file packages/peerlibrary_subscription-scope.js:79:32 where the error is being thrown? (line 79 of the file).
That might give us a clue what module is left undefined
Also, which package depends on peerlibrary:subscription-scope, since itβs not in your direct dependencies?
How is it using it?