Closed THPubs closed 8 years ago
I skimmed through the forum discussion. It wasn't clear if this bug was due to a breaking change or a bug in the new version of Meteor. I'll keep an eye out and merge this if latter. Please keep me updated.
I sure will :-)
Just updated to 1.3.3.1
and still the problem is there :-(
I just updated to the latest version of mantra-core
and removed babel-root-slash-import
from .babelrc and now it is working! Do we need babel-root-slash-import
anymore?
npm test
might fail without that module but I haven't tested it myself. See https://github.com/meteor/meteor/issues/7225#issuecomment-227355877
Yep you are right, tests fail without that plugin :-(
@THPubs updating babel-root-slash-import
will solve the problem. See here. Can you check?
Ah yep. Sorry @sungwoncho was a bit busy these days and forgot to check on it :-)
No worries. Thanks for reporting this.
You welcome :-)
In some files,
mantra-cli
used import paths relative to the root of the project likeimport * as Collections from '/lib/collections';
. Unfortunately, the new Meteor 1.3.3 update breaks these imports as discussed here : https://forums.meteor.com/t/1-3-3-imports-breaking/24890So, updated all the paths relative to the current directory where the file is in like this :
import * as Collections from '../../lib/collections';
.Hope I found all the imports. :-)