Skip to content

Compilation error in react-native:0.71.8 #394

@spacestierman

Description

@spacestierman

We are in the process of upgrading our native app to a new version of react-native, and we're running into a compilation issue that I've tracked down to a line of code that uses the redux-actions dependency.

Here's the offending section:

import { createAction } from 'redux-actions'
...
export const setTeamError = createAction('SET_TEAM_ERROR')
...

When we include these lines, we get this react-native compile error in the Metro bundler: [Error: Exception in HostFunction: Compiling JS failed: 18:9:'import.meta' is currently unsupported Buffer size 12286 starts with: 5f5f642866756e6374696f6e2028676c]

Versions: nodejs: 18.16.0, react-native: 0.71.8, redux-actions: 3.0.0.

Is this an issue that can be fixed on redux-actions, or is this a more general error with react-native?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions