Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error in react-native:0.71.8 #394

Open
spacestierman opened this issue Jul 14, 2023 · 1 comment
Open

Compilation error in react-native:0.71.8 #394

spacestierman opened this issue Jul 14, 2023 · 1 comment

Comments

@spacestierman
Copy link

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?

@BDDev
Copy link

BDDev commented Oct 12, 2023

@spacestierman Is this still the case or did you find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants