Hi,
I’m trying to update to 1.6.0.1 → 1.6.1, but it seems to be breaking. Rolling back (i just cleared changes) is not working either.
tbanerjee@tbanerjee:~/workspace/meteor/app1$ meteor npm start
> q6a@1.0.0 start /home/tbanerjee/workspace/meteor/app1
> meteor --settings settings-development.json
[[[[[ ~/workspace/meteor/app1 ]]]]]
=> Started proxy.
Warning: unable to resolve "env" in presets of /home/tbanerjee/workspace/meteor/app1/.babelrc
Warning: unable to resolve "transform-decorators-legacy" in plugins of /home/tbanerjee/workspace/meteor/app1/.babelrc
=> Meteor 1.6.1 is available. Update this project with 'meteor update'.
=> Started MongoDB.
I20180223-11:29:09.522(11)? fixtureEntityId: Fg26SjynnZanBSZ4q
I20180223-11:29:09.539(11)? fixtureUserId: Q2uB8SbZAvgdBsSiB
=> Started your app.
=> App running at: http://localhost:3000/
Any ideas why this might be the case? I understand the move to the new babel, but why is rolling back failing??
(A) My package.json file
{
"name": "",
"version": "1.0.0",
"description": "",
"scripts": {
"start": "meteor --settings settings-development.json",
"test": "meteor test --driver-package practicalmeteor:mocha --port 5000 --settings settings-development.json",
"chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests",
"chimp-test": "chimp --ddp=http://localhost:3000 --mocha --path=tests",
"production": ""
},
"devDependencies": {
"babel-eslint": "^7.0.0",
"babel-plugin-transform-class-properties": "^6.11.5",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.6.0",
"chimp": "^0.41.2",
"eslint": "^3.8.1",
"eslint-plugin-meteor": "^4.0.1",
"eslint-plugin-react": "^6.4.1",
"webpack": "^3.4.1"
},
"dependencies": {
"babel-runtime": "^6.25.0",
"bcrypt": "^1.0.3",
"draft-js": "^0.10.3",
"draftjs-to-html": "^0.7.5",
"draftjs-to-markdown": "^0.4.4",
"file-saver": "^1.3.3",
"isemail": "^2.2.1",
"jwt-simple": "^0.5.1",
"material-ui": "^0.18.7",
"media-typer": "^0.3.0",
"meteor-node-stubs": "^0.2.5",
"mobx": "^3.2.1",
"mobx-react": "^4.2.2",
"prop-types": "^15.5.3",
"react": "^15.5.2",
"react-ace": "^5.0.1",
"react-addons-pure-render-mixin": "^15.2.1",
"react-dom": "^15.5.2",
"react-draft-wysiwyg": "^1.12.9",
"react-komposer": "^1.13.1",
"react-router": "^3.0.0",
"react-tap-event-plugin": "^2.0.1"
}
}
(B) my .babelrc
{
"presets": ["env"],
"plugins": [
"transform-decorators-legacy",
"transform-class-properties",
"transform-runtime"
]
}
(C) Packages
# 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.2.0 # Packages every Meteor app needs to have
mobile-experience@1.0.5 # Packages for a great mobile UX
mongo@1.3.1 # The database Meteor supports right now
reactive-var@1.0.11 # Reactive variable for tracker
session@1.1.7
tracker@1.1.3 # Meteor's client-side reactive programming library
standard-minifier-css@1.3.5 # CSS minifier run for production mode
es5-shim@4.6.15 # ECMAScript 5 compatibility for older browsers.
ecmascript@0.9.0 # Enable ECMAScript2015+ syntax in app code
accounts-password@1.5.0
accounts-base@1.4.0
check@1.2.5
audit-argument-checks@1.0.7
browser-policy@1.1.0
aldeed:collection2
alanning:roles
static-html@1.1.12_1
xolvio:cleaner
practicalmeteor:mocha
xolvio:backdoor
mdg:validated-method
dburles:factory@1.0.0
ddp-rate-limiter@1.0.7
shell-server@0.3.0
http@1.3.0
nimble:restivus
peerlibrary:fs
dynamic-import@0.2.0
service-configuration@1.0.11
abernix:standard-minifier-js
Any assist would be appreciated. I’m trying to upgrade following the blog post but any pointers would be appreciated.
Tat