Comments (13)
I import react then it starts working fine.
see the below answer
https://stackoverflow.com/a/76406743/14266627
from react-native-copilot.
same here
from react-native-copilot.
same here
from react-native-copilot.
Same here. Hi @guilhermefparra Have you got the solution?
from react-native-copilot.
@dima-devs @SwikarBhattarai @guilhermefparra Any update on the issue how we can resolve this??? Please it's urgent
from react-native-copilot.
I did have one solution i.e. to copy the library into your project and use it from there for now.
from react-native-copilot.
@Nawaf007 But how to get rid of that error. Where you have added import React line ??
from react-native-copilot.
@Nilesh8451 I haven't, since base project has no issues with the imports, it simply loads it. Just place the src folder at a specific directory within your project, and access it. Things might work for you too.
from react-native-copilot.
@Nawaf007 Can we connect for this??
from react-native-copilot.
same here
from react-native-copilot.
Facing the same issue and even tried the suggested method of moving the library outside the default location and importing it manually.
from react-native-copilot.
Facing the same issue and even tried the suggested method of moving the library outside the default location and importing it manually.
Don't move the complete library. Just the code of the library, and install it's dependencies manually, as if it's your own custom code.
from react-native-copilot.
Got the same problem when trying to implement this library today.
I import react then it starts working fine. see the below answer https://stackoverflow.com/a/76406743/14266627
This fix resolved the error here, by adding "import * as React from 'react';" to the top of index.js at
\node_modules\react-native-copilot\dist\index.js
But shouldn't this be unnecessary? And if it does need to import react, should it perhaps be done in the package by default?
from react-native-copilot.
Related Issues (20)
- type error Property 'copilot' is missing in type HOT 5
- User should be able to set where a scrollview rests when scrolling to next step HOT 1
- Invalid Hook Call On Android Release Build
- Fix Typo in Render Error Message
- Invariant Violation: "copilot" has not been registered. This can happen if: * Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project. * A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes HOT 1
- Autostart on mount HOT 9
- Error: AnimatedValue: Attempting to set value to undefined HOT 2
- toolTipStyle HOT 3
- Modal HOT 1
- Would like to run a function when "finish" is called, but not if "skip" was pressed
- Automatic movement of tooltips in scroll view HOT 4
- Restarting the guide
- Multiple Copilot Tutorials
- React-Navigation - tour on multiple screens HOT 2
- Need copilot step for multiple element on custom component HOT 3
- TooltipCustomComponent Props issue
- Tooltip view is not being set properly with Parent and Child components. HOT 4
- Is it possible to style the button of react-native-copilot.
- Doesn't work with Expo Web
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-copilot.