I have installed the complete packages which are required for react native project. But after running the project i am getting this error i am not sure why.
I have also searched this issue on the internet but no luck.
Thanks
Amit
Related
After upgrading my react-native version from 0.68.5 to 0.70.5. I am constantly getting this error on starting the JS bundler.
I have tried multiple things like upgrading the #react-native-community/cli version in my package.json file, etc. But nothing worked.
Does anyone have any idea about this issue?
Thanks in advance!
I am new to react-native or you can say new to React and I am working on react-native navigation I have installed all the required libraries as instructed in https://reactnavigation.org/docs/getting-started but when I am running my code it is giving an error as '#react-navigation/native could not be found within the project or in this directories.' What should I do is there any way to get started with my code? Help me
If you have installed your app following the react native cli guide you might want to try running
gradle clean
in your android folder und then try to run your app in the emulator again.
On my first steps with react native I stumpled upon the same issue. :-)
Metro bundler building fails when running react-native app with the following error,
bundling failed:
node_modules/react-native-draftjs-render/index.js:app/node_modules/react-native-draftjs-render/index.js:
Cannot read property 'cache' of undefined
How to fix this..? I'm in the middle of upgrading my react-native project to 0.61.5. (I'm really new to react-native)
I come across this issue again while upgrading my project to React Native 0.63.2. I don't remember how I resolved this last time. This time I was using react-native-draftjs-render version 2.9.0 and the issue resolved after downgrading to 2.8.3.
I am developing mobile app using React-native-cli.
But I have got one difficult problem to solve.
I don't know why this issue is appeared.
I want RN experts to help me to solve this problem.
This issue is following.
I tried to run my app using following command.
react-native run-android -- --reset-cache
When my internet speed is very fast, my app is running well, but when internet speed is some slowly, it is not running.
My project is based on RN 0.59.
issue:
error: bundling failed: Error: Unable to resolve module scheduler/tracing from \working\temp\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js: Module scheduler/tracing does not exist in the Haste module map
please help me!!! :)enter image description here
I ran into that strange issue after upgrading to React Native 0.59.1 and trying to run my app on iOS devices in xcode.
Loading dependency graph, done.
error: bundling failed: Error: Cannot find module 'babel-plugin-graphql-tag' from '/Users/me/react_projects/my-app'
- If you want to resolve "graphql-tag", use "module:graphql-tag"
I tried to install some potentially missing packages but it does not help. I can post my package.json if that helps.
Many thanks in advance for any help!