Skip to content

DOMException: Failed to execute 'put' on 'IDBObjectStore': The transaction is not active. #7985

@pratt3351

Description

@pratt3351

Operating System

mac OS

Browser Version

all of browser

Firebase SDK Version

10.7.2

Firebase SDK Product:

Analytics

Describe your project's tooling

with react-native + react-native web.

Describe the problem

intialize firebase sdk and call any other firebase module just always throw this errors

DOMException: Failed to execute 'put' on 'IDBObjectStore': The transaction is not active.
at Proxy. (https://localhost/scripts/script.340834.js:381329:26)
at _callee6$ (https://localhost/scripts/script.340834.js:389062:24)
at tryCatch (https://localhost/scripts/script.340834.js:388438:1357)
at Generator. (https://localhost/scripts/script.340834.js:388438:4172)
at Generator.next (https://localhost/scripts/script.340834.js:388438:2208)
at asyncGeneratorStep (https://localhost/scripts/script.340834.js:388442:103)
at _next (https://localhost/scripts/script.340834.js:388443:194)
at tryCallOne (https://localhost/scripts/script.340834.js:133892:12)
at https://localhost/scripts/script.340834.js:133973:15
at run (https://localhost/scripts/script.340834.js:238290:9)

what's wrong with my project..?
i'm using react-native 0.72.7, and react-nativeweb 0.19.9 version

Steps and code to reproduce issue

i have this babel presets.

{
      presets: [
        [
          '@babel/preset-env',
          {
            loose: true,
            corejs: { version: '3.22', proposals: true },
            useBuiltIns: 'entry',
            targets: { ie: '11' },
          },
        ],
        ['@babel/preset-react', { runtime: 'automatic' }],
        '@babel/preset-typescript',
      ],
      plugins: defaultPlugins,
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions