erikras / multireducer

A utility to wrap many copies of a single Redux reducer into a single key-based reducer.
MIT License
422 stars 23 forks source link

babelHelpers.typeof is not a function #120

Closed robcalcroft closed 2 years ago

robcalcroft commented 7 years ago

Getting this error when I install this in my react native project. The relevant node modules are there but Im still getting this error. My .babelrc has only presets: ["react-native"] and adding es2015 and stage-0 doesn't help

yesmeck commented 7 years ago

Could you provide a reproduce repo?

EthanLin-TWer commented 6 years ago

Encountering the same issue on our RN project. We have to do the following after npm install to solve the problem. Wondering if there's other more elegant way out?

npm i 
cd node_modules/multireducer
npm i -D babel-preset-es2015
npm i -D babel-preset-stage-0