react-redux-firebase: TransformError: ..../lib/index.js: Cannot set property '' of undefined

I am trying to use react-redux-firebase with my react-native project. I have added react-redux-firebase@canary which resolved to 2.0.0-alpha.3

When I run the app I get:

error: bundling: TypeError: Cannot set property '' of undefined
    at Promise$2 (/Users/burak/project/node_modules/es6-promise/dist/lib/es6-promise/promise.js:129:19)
    at Function.memoisePluginContainer (/Users/burak/project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:113:13)
    at Function.normalisePlugin (/Users/burak/project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:146:32)
    at /Users/burak/project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:184:30
    at Array.map (native)
    at Function.normalisePlugins (/Users/burak/project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
    at OptionManager.mergeOptions (/Users/burak/project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
    at OptionManager.init (/Users/burak/project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/Users/burak/project/node_modules/babel-core/lib/transformation/file/index.js:212:65)
TransformError: /Users/burak/project/node_modules/react-redux-firebase/lib/index.js: Cannot set property '' of undefined

I tried to debug the issue. Currently, I only have one import statement below and I am not even calling any method and I get the same error above.

import { firebaseStateReducer } from 'react-redux-firebase';

Am I missing something?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 19 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@projoneftw and @buraks I released v2.0.0-alpha.5 which removes usage of es6-promise all together.

It may not be to blame, but since es6-promise was part of the initial error report, I figured it was worth a try.

Still trying to reproduce this error myself to confirm. If either of you get a chance to try it out, let me know. It would be great get this fixed ASAP.

Just tried 2.0.0-alpha.2 it’s the same