-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unable to resolve module @swc/helpers/cjs/_class_private_field_init.cjs from /Users/mrv/Desktop/Projects/art-hearts-mobile/node_modules/@react-aria/interactions/dist/main.js #4894
Comments
Can you specify which version of React Aria you're using, and which build tool you're using for your app? |
Having the same issue. Unsure if it impacts other packages but specifically for me, edit: upon further investigating, seems outside of the |
@reidbarber Im using react-native, actually im not sure why the error comes on this library I have already suspected that this issue is within the native-base but I try to bump up the library but the error goes still the same .
|
@jakecrump which build tool and version are you using for your app? Does this happen to be an older version of Next.js? |
@michaelroevievictoria is this using Expo? If so, which version? |
@reidbarber im using react native cli
|
Yeah, it's Next |
Since it's a third-party module for my case, I'm unable to manually downgrade (for now). Fortunately, adding this override to the package.json seems to work until a more permanent solution can be explored.
|
Seems like two different issues? One is for Next.js, which we know about already, and the other is for React Native? For the React Native folks, could you verify what version of |
For what its worth (On the Next js side of this issue), we're generating, cloning, and installing Next 12.3.2 apps on a daily basis, and I can confirm this was not an issue yesterday (I did several installs yesterday with fresh package-locks, the whole works). So if the issue thread from last month that @LFDanLu shared earlier is in fact what's happening, I'm guessing this latest release is just a continuation of losing Next 12 support and we were just lucky until now? |
The issue is happening on react-native, started last night since builds were working before, looks like it lines up with react-aria/interactions update. Not using dependency directly but react-native-base uses it. @swc/helpers version referenced is 0.51.0, but this we are also not using directly. |
Looking inside Can you verify what version of Metro bundler you are using? Looks like |
Oh, looks like at least one of you is using react-native 0.69.3 according to the above comment. That version is over a year old and marked as deprecated on npm: https://www.npmjs.com/package/react-native/v/0.69.3. Looks like it is also using an old version of metro from before |
Using ^0.71.1 of metro. React native 0.66. Upgrading will be pretty difficult to do. Dependencies in current project are not compatible with later node. |
Hmm. I'm not really sure what we can do here. We don't control the Maybe you can try to configure your version metro so it accepts |
I solve mine , my issue now is within
Create a
|
@michaelroevievictoria it worked for me :) |
RN version is "react-native": "0.63.3", it worked for me, thanks |
module.exports = { |
For those of you using Next.js on this thread, I reached out to the Vercel folks and they were nice enough to backport a fix to |
it worked for me Thanks 🌹 |
This solved my problem, thanks The version of React Native i'm using is 0.66.4, if anyone wants to know. |
Thanks to this issue: adobe/react-spectrum#4894, I have discovered that react-aria is faulty. Pinning the version with the overrides field in npm allows building
Summary: To ensure ongoing development and address security issues, Expo has been updated to version 49. In order to fix an issue (missing function in @swc/helpers) in react-aria (a dependency of native-base), the version of this dependency had to be pinned. * 📌 Pin @react-aria/interactions to 3.16.0 Thanks to this issue: adobe/react-spectrum#4894, I have discovered that react-aria is faulty. Pinning the version with the overrides field in npm allows building * 📌 Expo SDK set to 47 * 📌 Pin expo SDK to v49
Using
|
Provide a general summary of the issue here
I have an error
Not sure if some libraries connected to another libraries
but im using native-base
Im not using @swc/helpers
🤔 Expected Behavior?
it should be work and not having an error I also try to path but it show well in vscode.
😯 Current Behavior
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
hmmmm I just run the app it tells me the error its your library ???
Version
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
mbp m2
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: