-
Notifications
You must be signed in to change notification settings - Fork 191
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
Parsing error: Cannot find module '@react-native/babel-preset' #510
Comments
wonder any fix here? it prevents testing as well. |
Same issue here (fresh library with latest crnl) |
I ran into this exact problem. I upgraded react-native to 0.73.2 as listed in my info output and was able to run the tests. |
Hey, I'm not able to reproduce this issue, seems like we are missing the To test the library, I basically created a new project using Could you describe better reproduction steps? In the |
hi @atlj I forgot how do i fix the issue, as I remember, I need to run a command I just tried to replicate the issue I created right now, and it's seems there's no error about I'll close the issue since I can't replicated the issue I've created. :) |
Description
I just create a new library with CRNL, I used
.js
instead ofts/tsx
in my code but everytime declareimport React from 'react';
, eslint keep sayingI've tried installing
@react-native/babel-preset
usingyarn add -D @react-native/babel-preset
, but the error still persist,is it expected error from eslint? or CRNL is not supported for
.js
extension?Packages
Selected options
npx create-react-native-library my-library
Link to repro
not published yet
Environment
The text was updated successfully, but these errors were encountered: