Comments (4)
Could not find a declaration file for module '@rainbow-me/animated-charts'. '/Users/talhaatiq/Documents/GitHub/mustaqbil-reactnative/node_modules/@rainbow-me/animated-charts/src/index.js' implicitly has an 'any' type. Try
npm i --save-dev @types/rainbow-me__animated-charts
if it exists or add a new declaration (.d.ts) file containing `declare module '@rainbow-me/animated-charts';
I had this error too.
The APP should run with that error too, it only points out that's can't find types. And it will not find because there is no such library with typescript at the moment.
But if you wanna get rid of the error. Just create a folder with the name "types" then create a subfolder like "@rainbow-me-animated-charts" and add the index.d.tsx file.
Inside index.d.tsx declare module:
declare module "@rainbow-me/animated-charts";
My React Native (Expo) with TypeScript version is 0.64.3.
from react-native-animated-charts.
There are no TypeScript typings for this library, but the actual error is something else. Without the actual code that you are using for the library it's very hard to pinpoint.
from react-native-animated-charts.
I'm having a same issue. Followed exactly what's being done on https://github.com/rainbow-me/react-native-animated-charts.
from react-native-animated-charts.
I couldn't resolve this error so I switched to react-native-wagmi-charts.
Hope it does what you need.
from react-native-animated-charts.
Related Issues (20)
- App crash when load chart HOT 1
- Expo crashes when I add ANY of the import commands: "TypeError: this.InnerNativeModule.configureProps is not a function." HOT 4
- CurrentPositionVerticalLine Component
- Tried to Synchronously call function {functionName} from a different thread.
- RNGestureHandlerModule.attachGestureHandler got 2 arguments, expected 3 HOT 6
- Chart Line is not showing up HOT 1
- Library adds decimal values to timestamp?
- I get a error of Invariant Violation: Tried to register two views with the same name GestureHandlerRootView HOT 7
- JSON value of type NSNumber cannot be converted to NSArray
- Invariant Violation: Tried to register two views with the same name RNGestureHandlerButton HOT 4
- Invariant Violation: requireNativeComponent: "RNSVGPath" was not found in the UIManager.
- While adding dots on android error
- Swift Native Support!
- How to apply shadow to chartPath?
- How to show max and min points on the chartpath.
- Random black background appearing HOT 1
- React Native Animated Charts doesnt seem to be compatible with react-native-bottom-sheet
- Animation doesn't work after upgrading to expo sdk 49, reanimated 3 HOT 5
- Error when adding ` import {ChartDot, ChartPath, ChartPathProvider} from '@rainbow-me/animated-charts'; ` TypeError: _ReanimatedModule.default.createNode is not a function (it is undefined), js engine: hermes HOT 10
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-animated-charts.