I get the following ewrror after upgrading my Meteor/React app to 1.5:
Uncaught SyntaxError: Unexpected end of input
blaze.js?hash=f33d3df…:1898
and other errors like this:
Uncaught TypeError: Cannot read property ‘Blaze’ of undefined
at spacebars.js?hash=ebf9381…:22
at spacebars.js?hash=ebf9381…:335
Does anyone know why?
I tried removing blaze-html-templates and adding back but still have the same error.
Indeed it was added to the bottom. It used to be right above reactive-var before I removed it and added it back.
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.1.0 # Packages every Meteor app needs to have
mobile-experience@1.0.4 # Packages for a great mobile UX
mongo@1.1.18 # The database Meteor supports right now
Meteor comes with an accounts system and a drop-in login user interface that lets you add multi-user functionality to your app in minutes.
Currently, this UI component uses Blaze, Meteor’s default UI engine. In the future, there might also be a React-specific component for this.
To enable the accounts system and UI, we need to add the relevant packages. In your app directory, run the following command:
meteor add accounts-ui accounts-password
After running meteor update --packages-only , I got the following warning …should I worry about it?
meteor update --packages-only
Changes to your project’s package version selections from updating package versions:
babel-compiler upgraded from 6.19.1 to 6.19.2
blaze-html-templates upgraded from 1.1.0 to 1.1.2
caching-html-compiler upgraded from 1.1.0 to 1.1.2
dynamic-import upgraded from 0.1.0 to 0.1.1
email upgraded from 1.2.1 to 1.2.3
fourseven:scss* upgraded from 3.8.1 to 4.5.0
modules upgraded from 0.9.0 to 0.9.1
react-meteor-data upgraded from 0.2.9 to 0.2.11
templating upgraded from 1.3.0 to 1.3.2
templating-compiler upgraded from 1.3.0 to 1.3.2
templating-runtime upgraded from 1.3.0 to 1.3.2
templating-tools upgraded from 1.1.1 to 1.1.2
themeteorchef:bert upgraded from 2.1.1 to 2.1.2
These packages have been updated to new versions that are not backwards
compatible.
Newer versions of the following indirect dependencies are available:
mdg:validation-error 0.2.0 (0.5.1 is available)
tmeasday:check-npm-versions 0.2.0 (0.3.1 is available)
These versions may not be compatible with your project.
To update one or more of these packages to their latest
compatible versions, pass their names to meteor update,
or just run meteor update --all-packages.