Could not find the expo package in your project - react-native link - react-native

I have created an expo project using expo-cli and ejected it to regular native-script project, but while running react-native link I am getting this message:
Could not find the "expo" package in your project when configuring the
packager while running react-native link
can someone please help me resolving the issue.
Thanks in Advance.

Related

React-Navigation and installation error and first-usage

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. :-)

i successfully done my app and testing in expo. now how to install in real physical device?

i have successfully made and tested the application in expo. but i don't know how to install in physical device and i want to deploy it also. please help me.
while using react-native run-android showing this error.👇👇👇
Android project not found. Maybe run react-native android first?
If you are using expo, you should not have to make the build as a react native project. You can check in the following link the documentation in expo about how to build in Andrdoid/ios and get the apk/ipa:
https://docs.expo.io/versions/latest/distribution/building-standalone-apps/
In a summary, if you have the app.json correctly configured, you just have to run:
expo build:android
Hope it helps

How can I insert expo module in a React-native project?

I tried to use react-native-admob but It gives me a lot of problems. So I want to install with npm the expo module to use expoadmob that I'm sure works fine. I created a project with react native and tried to use "npm install expo --save" to add the expo module, but it didn't work. Anyone have a solution?
Not sure to understand.
You have 2 ways to create RN application expo-cli and react-native-cli.
You can't use expo for your module because you need to have a access to the native part (created with react-native-cli)
yarn add react-native-admob#next
AND don't forget to link the dependencies with
react-native link

Cannot find module 'babel-plugin-graphql-tag' when running App with React Native 0.59.1

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!

Unexpected Identifier. react-native run-android

I am following this guide to create the project with native code (https://facebook.github.io/react-native/docs/getting-started.html). But I am getting this error after the run command:
This error is a new bug in react-native 0.56 that affects Windows users. To solve it you can create a project with another react-native version:
react-native init --version="0.55.4" MyNewApp
You can see more infos in this GitHub issue.