Uncaught SyntaxError: Unexpected token export

I’m trying to use two different versions of Materual-UI because I need to use the DatePicker and TimePicker components which have not yet been migrated to their @next version.

Inside of my package.json I have this:

"material-ui": "^1.0.0-alpha.6",
"material-ui-stable": "git://github.com/CrunchySerial/material-ui.git#master",

after a quick npm install everything looks like it’s loading fine.

The problem comes when I import DatePicker from 'material-ui-stable/src/DatePicker'

My project builds fine - no errors in the terminal console…

But in the browser I get a ton of errors, which I won’t paste the whole list, cause it’s long… but here’s a small screenshot:

Basically, it’s the “everythings broke” error. :wink:

So, when I inspect that line on modules.js this is what it’s screaming about:

export default from './DatePicker';

Which looks absolutely fine to me…

I’ve been pulling my hair out and I can’t figure out for the life of me what the heck is going on here. If anyone has a clue, please let me know cause I don’t even know where to begin on troubleshooting this anymore. I’ve tried all kinds of things - and nothing is working.

Maybe try a different package, cuz that looks like cancer…

Lots of packages for DatePicker out there, or just include it yourself in /client/compatability

Oh hey, another guy just posted with this issue,

Your screen shots look the same. Perhaps it’s related to your Meteor version