Hi guys,
my current project is on 1.4.1 and my current problem is that it does NOT work on internet explorer. (Internet-Explorer does NOT seem to understand ES6 like () => {}
)
So I tought: Upgrade to latest meteor and get the latest babel, which might fix the issue.
HOWEVER: I am running into big problems.
I’ll now give you some details on what I did and also post the packages I use (see below).
I’d be really thankful for some tips on how to proceed… Any ideas?
This is what I did:
meteor update
meteor npm install --save-exact @babel/runtime@7.0.0-beta.55
meteor npm install --save @vimeo/player browser-cookies
When running meteor
I see this error (related to peerlibrary:blazecomponents
):
=> Started proxy.
=> Started MongoDB.
W20180808-11:48:58.202(2)? (STDERR) /Users/thebarty/.meteor/packages/meteor-tool/.1.7.0_4.3o2hbz++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20180808-11:48:58.244(2)? (STDERR) throw(ex);
W20180808-11:48:58.245(2)? (STDERR) ^
W20180808-11:48:58.245(2)? (STDERR)
W20180808-11:48:58.245(2)? (STDERR) TypeError: Cannot read property 'setRoot' of undefined
W20180808-11:48:58.245(2)? (STDERR) at packages/peerlibrary_blaze-layout-component.js:145:13
W20180808-11:48:58.245(2)? (STDERR) at packages/peerlibrary_blaze-layout-component.js:149:4
W20180808-11:48:58.246(2)? (STDERR) at packages/peerlibrary_blaze-layout-component.js:157:3
When trying to upgrade all packages via meteor update --all-packages
I see this message:
his project is already at Meteor 1.7.0.4, the latest release.
Your top-level dependencies are at their latest compatible versions.
The following top-level dependencies were not updated to the very latest version available:
* aldeed:autoform 5.8.1 (6.3.0 is available)
* aldeed:collection2 2.10.0 (3.0.0 is available)
* aldeed:schema-index 1.1.1 (3.0.0 is available)
* mdg:seo 1.1.0 (3.2.0_1 is available)
* meteortoys:allthings 2.3.1 (7.0.1 is available)
* peerlibrary:blaze-components 0.21.0 (0.22.0 is available)
* peerlibrary:blaze-layout-component 0.1.2 (0.2.1 is available)
* peerlibrary:reactive-publish 0.4.0 (0.7.0 is available)
* percolate:migrations 0.9.8 (1.0.2 is available)
Newer versions of the following indirect dependencies are available:
* aldeed:collection2-core 1.2.0 (2.1.2 is available)
* aldeed:schema-deny 1.1.0 (3.0.0 is available)
* coffeescript 1.0.17 (2.2.1_1 is available)
* meteortoys:authenticate 2.1.0 (4.0.0 is available)
* meteortoys:autopub 2.1.0 (4.0.0 is available)
* meteortoys:blueprint 2.1.0 (4.0.0 is available)
* meteortoys:email 2.1.0 (4.0.0 is available)
* meteortoys:hotreload 2.1.0 (4.0.0 is available)
* meteortoys:listen 2.1.0 (4.0.0 is available)
* meteortoys:method 3.0.4 (4.0.0 is available)
* meteortoys:pub 3.0.4 (4.0.0 is available)
* meteortoys:result 2.1.0 (4.0.0 is available)
* meteortoys:shell 2.1.0 (4.0.0 is available)
* meteortoys:status 2.1.0 (4.0.0 is available)
* meteortoys:sub 2.1.0 (4.0.0 is available)
* meteortoys:throttle 2.1.0 (4.0.0 is available)
* meteortoys:toykit 2.2.1 (4.0.2 is available)
* msavin:jetsetter 1.5.2 (4.0.0 is available)
* msavin:mongol 1.6.2 (7.0.1 is available)
* peerlibrary:data-lookup 0.1.0 (0.2.1 is available)
* peerlibrary:extend-publish 0.3.0 (0.5.0 is available)
* peerlibrary:fiber-utils 0.6.0 (0.9.1 is available)
* peerlibrary:reactive-mongo 0.1.1 (0.2.2 is available)
* peerlibrary:server-autorun 0.5.2 (0.7.1 is available)
* softwarerero:accounts-t9n 1.3.11 (2.3.1 is available)
This is my current package.json
"dependencies": {
"@babel/runtime": "7.0.0-beta.55",
"@vimeo/player": "^2.6.3",
"analytics-node": "^3.0.0",
"babel-runtime": "^6.23.0",
"bcrypt": "^0.8.7",
"browser-cookies": "^1.2.0",
"fibers": "^1.0.15",
"fs-extra": "^2.0.0",
"html-to-text": "^2.1.0",
"initials-avatar-generator": "^1.5.3",
"is_js": "^0.9.0",
"jquery": "^3.1.1",
"meteor-node-stubs": "~0.2.0",
"node-cron": "^1.1.2",
"node-sass": "^4.9.2",
"secure-random-string": "^1.0.0",
"typed.js": "^2.0.6",
"underscore": "^1.8.3",
"underscore.string": "^3.3.4",
"validate-options": "^0.3.0",
"winston": "^2.3.1",
"winston-papertrail": "^1.0.4"
},
"devDependencies": {
"chai-string": "^1.2.0",
"cheerio": "^0.22.0",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-meteor": "^4.0.1",
"eslint-plugin-react": "^6.10.0",
"i": "^0.3.5",
"lint": "^1.1.2",
"mocha-circleci-reporter": "0.0.2",
"npm": "^4.6.1",
"random-boolean": "^1.0.0",
"random-number": "0.0.7",
"sinon": "^1.17.6"
},
This is my /meteor/packages
meteor-base # Packages every Meteor app needs to have
mobile-experience # Packages for a great mobile UX
mongo # The database Meteor supports right now
session # Client-side reactive dictionary for your app
jquery # NPM Package Helpful client-side library
tracker # Meteors client-side reactive programming library
standard-minifiers # JS/CSS minifiers run for production mode
es5-shim # ECMAScript 5 compatibility for older browsers.
ecmascript # Enable ECMAScript2015+ syntax in app code
audit-argument-checks
check
reactive-var
reactive-dict
ejson
less
mdg:validated-method
# reactive storage
u2622:persistent-session
peerlibrary:reactive-field
peerlibrary:computed-field
# translation
tap:i18n
# routing
kadira:flow-router
arillo:flow-router-helpers
kadira:blaze-layout
ahref:flow-router-breadcrumb
okgrow:router-autoscroll
# accounts
accounts-base
accounts-password
# collections
mizzao:partitioner
aldeed:simple-schema
mdg:validation-error # needed
aldeed:collection2
meteorhacks:subs-manager
dburles:collection-helpers
matb33:collection-hooks
# security
alanning:roles
useraccounts:bootstrap
useraccounts:flow-routing
# components (yes we love them!)
peerlibrary:blaze-components
peerlibrary:blaze-layout-component
# frontend
raix:handlebar-helpers
fortawesome:fontawesome
mrt:flash-messages
juliancwirko:s-alert
juliancwirko:s-alert-genie
momentjs:moment
rzymek:moment-locale-de
netanelgilad:moment-business
mizzao:jquery-ui
mrt:jquery-imagesloaded
aldeed:autoform
slam310:smooth-scroll
# development tools
yagni:log
meteortoys:allthings
# PACKAGES ONLY IN DEBUG MODE
velocity:meteor-stubs
xolvio:cleaner
tmeasday:acceptance-test-driver
lookback:emails
email
shell-server
stylus
xolvio:email-stub
practicalmeteor:sinon
xolvio:backdoor
peerlibrary:reactive-publish
thebarty:autoform-formattable-radios
thebarty:modal-prompt-bootstrap
thebarty:denormalized-views
johanbrook:publication-collector
ostrio:meteor-root
jalik:ufs-gridfs
practicalmeteor:mocha
williamledoux:bootstrap-toggle
mpowaga:autoform-summernote
sacha:spin
mdg:meteor-apm-agent
mdg:seo
kadira:dochead
mixmax:smart-disconnect
aldeed:schema-index
percolate:migrations
yagni:split-on-newlines
gadicohen:sitemaps
dynamic-import
underscore
Yeah! I hope this will not become a nightmare.
Any ideas what to do?