You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.
I've created a new React Native project (RN 0.30.0, React 15.2.1, Node 4.4.0) and installed this package as follows:
$ react-native init PathJSChartsDemo
$ cd PathJSChartsDemo
$ npm install --save react-native-pathjs-charts
$ rnpm link
I then imported Bar and added the example and data the index.ios.js file:
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
import {Bar} from 'react-native-pathjs-charts';
class PathJSChartsDemo extends Component {
render() {
return (
<View style={styles.container}>
<Bar
data={sampleData.bar.data}
options={sampleData.bar.options}
accessorKey='v'/>
</View>
);
}
}
const sampleData = {
bar: {
data: [
[{
"v": 49,......
I noticed that rnpm link completes with no output, in case that's relevant. When running the app I get the error in the issue title. The top of the stack is createNativeComponent.ios.js:36 in react-native-svg/lib. Do you have any ideas what I might be doing wrong?
Thanks!
James
The text was updated successfully, but these errors were encountered:
I'm seeing this problem too with the latest version. I've noticed that there's no output as well and when I created the library two months ago, the linking worked fine. I was able to get linking to work today by targeting through rnpm link react-native-svg (which is the only native library reference). However, now I'm getting some other issues. So, I'll keep working the issue. @webmariner - try the rnpm link react-native-svg and see if you can get it working. I'm going to chew on this to figure out what's going on.
Hi there,
I've created a new React Native project (RN 0.30.0, React 15.2.1, Node 4.4.0) and installed this package as follows:
I then imported
Bar
and added the example and data theindex.ios.js
file:I noticed that
rnpm link
completes with no output, in case that's relevant. When running the app I get the error in the issue title. The top of the stack iscreateNativeComponent.ios.js:36
in react-native-svg/lib. Do you have any ideas what I might be doing wrong?Thanks!
James
The text was updated successfully, but these errors were encountered: