Closed EmmaSimon closed 6 years ago
+1 Have the same problem, but ONLY on windows. It works well for linux and mac, no error were thrown.
@yanghealsci Hm, I'm having the issue on Linux (Debian 9).
Yep I just had this problem too. Deleting .babelrc fixes it...
Same issue on mac... :-(
@EmmaSimon You should generally not transpile anything inside the node_modules
directory. Are you using Webpack? A common mistake is to omit ignore: [/node_modules/]
from the babel-loader
configuration.
@alexanderwallin Ah, yep, I'm doing that now, though I wasn't when I wrote this. 😛
I'm using Babel 6.24, and after installing this package, it throws:
After removing
node_modules/redux-localstorage/.babelrc
, everything works fine.