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

Error: "Unable to resolve 'cloudinary-react-native' from 'App.tsx'" #35

Open
mensonones opened this issue Oct 8, 2024 · 3 comments
Open

Comments

@mensonones
Copy link

Bug report for Cloudinary React Native SDK

Before proceeding, please update to latest version and test if the issue persists

Describe the bug in a sentence or two.

The application throws an error: "Unable to resolve 'cloudinary-react-native' from 'App.tsx'," indicating that the cloudinary-react-native library cannot be found during the build process, despite being installed in the project.

image

Bu

Issue Type (Can be multiple)

[x] Build - Can’t install or import the SDK
[ ] Performance - Performance issues
[ ] Behaviour - Functions aren’t working as expected (Such as generate URL)
[ ] Documentation - Inconsistency between the docs and behaviour
[ ] Other (Specify)

Steps to reproduce

  1. Clone the project repository (https://github.com/cloudinary/cloudinary-react-native)
  2. Navigate to the example folder of the project using the terminal.
  3. Run the commands: npm install && npx expo start.
  4. The error occurs.

Error screenshots or Stack Trace (if applicable)

image

Build/Dependency management

[ ] Cocoa-Pods
[ ] Carthage
[ ] Manual import
[x] Other (Specify)

Is the issue reproducible only on a specific device?

[x] No
[ ] Yes (specify device model + iOS/Android version)

Versions and Libraries (fill in the version numbers)

React Native Cloudinary SDK version - The example project directly uses the library without specifying a version
OSX (on the dev environment) - 0.0.0
XCode/Android Studio - 0.0.0
Swift/Java/Kotlin - 0.0.0
Target iOS/Android - 0.0.0

Repository
If possible, please provide a link to a reproducible repository that showcases the problem

@PixelCook
Copy link

Hi there,

I am unable to replicate your issue. Can you try running npm update && npx update? Are you sure you're starting the program in the right directory?

@mensonones
Copy link
Author

Hi there,

I am unable to replicate your issue. Can you try running npm update && npx update? Are you sure you're starting the program in the right directory?

Yep! I put steps on issue

@PixelCook
Copy link

Hi, I see npm install but not, npm update && npx update. Can you share your package.json?

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