Closed fsultani-aspiration closed 5 years ago
That error is not caused by preact-compat
. We only use babel during development itself. Users will never install it as because it's flagged as a devDependency
. The most likely cause it's that you have some other dependency in your project which marked dependencies intended for development incorrectly. You can check who installed it with yarn via yarn why babel-core
. There is a similar command for npm, but I don't know off the top of my head how it is called. A quick Google search should point you to it.
@babel/core
lists7.4.5
as the current version, yetpreact-compat
is using^6.26.3
. Is this outdated?I keep getting an error in my app:
I'm wondering if they're related.