Meteor 1.2.x to 1.4.x Migration Guide
Official Meteor Migration Guide
- update to Meteor 1.3.5.1
meteor update --release 1.3.5.1 - check app running on Meteor 1.3.5.1
- update to Meteor 1.4.x
meteor updatemeteor update --all-packages - initialise npm
meteor npm init - replace old
npm-containerRemove packages from your app:meteor remove meteorhacks:npm npm-container
Remove the generatednpm-container package:rm -r packages/npm-container
Move the contents ofpackages.jsonto the dependencies section of yourpackage.jsonSimply useimportinstead ofNpm.require() - rebuild npm modules (since Node version was upgraded to 4.4.7 in Meteor 1.4)
meteor npm rebuild - install native implementation of bcrypt
meteor npm install --save bcrypt - install React
meteor npm install --save react react-dom react-addons-pure-render-mixin - hookup react to meteor reactive data layer
meteor add react-meteor-data - add support for ES2015 modules (installed with new Meteor 1.3 apps)
meteor npm install --save meteor-node-stubs
Notes
- As of 1.4, you must ensure your MONGO_OPLOG_URL contains a replicaSet argument (see the changelog and the oplog documentation).