Closed cjk closed 6 years ago
Interesting. It was working on my localhost until I updated all the dependencies. And then I did get that error.
It looks like the cause of it is that parcel does not include babel-preset-react
. I'm almost positive it used to. Otherwise, I have no idea how this was ever working. At any rate, that's a terrible error message. I had to appeal to stackoverflow to figure this out:
So I just explicitly installed a couple dependencies. That's pushed on master
. Just pull it and run npm install
again.
Thanks for bringing this up!
Oh, also you can now cd
into any of the examples and just run npm start
from that directory. So for todomvc
, you can now do either of the following:
cd examples
npm install
npm start -- todomvc
or:
cd examples
npm install
cd todomvc
npm start
Probably a babel- / dependency issue: