react-native-fusioncharts
react-native-fusioncharts copied to clipboard
Unable to resolve module ./modules/fusioncharts/fusioncharts.fcscript
Facing this error and i'm currently unable to trace that file/folder. Error says: Unable to resolve module ./modules/fusioncharts/fusioncharts.fcscript from S:\MydashboardApp\node_modules\react-native-fusioncharts\src\FusionChartsModule.js
Any help would be appreciated!
Run the following commands in your project:
npm install -g react-native-cli
npm install react-native-webview
After that link this module to your app
react-native link react-native-webview
Execute your project.
I am Facing same issue
Any help would be appreciated!
@celio-thingsphere It didn't worked
@deepakmehra96 drop a mail to [email protected] with your license details.
The react native is not able to read the .fcscript extension file....try to set your bable/metro to read that extenstion file like below.
const { getDefaultConfig } = require('@expo/metro-config');
const defaultConfig = getDefaultConfig(__dirname);
defaultConfig.resolver.assetExts.push('fcscript');
module.exports = defaultConfig;
Offcourse you need to install some dependencies and once done it will work.
@srjkmrpro can you please help us with the dependencies that needs to be installed
@bhargaviRdy & @all Follow only https://github.com/fusioncharts/react-native-fusioncharts#imporatant-note Create a new project & follow step by step procedure as mentioned here. Do not forget to make changes as mentioned in https://docs.expo.dev/bare/installing-unimodules/#installation
Following are the right versions (Which I'm using) to display the fusionCharts "react": "17.0.1", "react-native": "^0.64.2", "react-native-fusioncharts": "^5.1.0",
IMPORTANT NOTE: If you are following this following documentation, Do not follow (As recommended by the FusionCharts) https://www.fusioncharts.com/dev/getting-started/react-native/your-first-chart-using-react-native
@srjkmrpro can you please help us with the dependencies that needs to be installed
just follow the steps in Fusion Chart site and try to do it with the latest dependencies such as nodeJS, npm and expo. My friend was having the error in installing the dependencies so we switched to nodeJS version 14* and that helped.
@srjkmrpro Are you sure the link which you shared is working for you? (That was the first link I tried & never worked for me!) Because I was told by FusionChart support team not to use that since it's not the updated documentation. and the link which I shared in my previous comment works absolutely fine. (FYI my node version is 14.13.1)
@bhargaviRdy & @ALL Follow only https://github.com/fusioncharts/react-native-fusioncharts#imporatant-note Create a new project & follow step by step procedure as mentioned here. Do not forget to make changes as mentioned in https://docs.expo.dev/bare/installing-unimodules/#installation
Following are the right versions (Which I'm using) to display the fusionCharts "react": "17.0.1", "react-native": "^0.64.2", "react-native-fusioncharts": "^5.1.0",
IMPORTANT NOTE: If you are following this following documentation, Do not follow (As recommended by the FusionCharts) https://www.fusioncharts.com/dev/getting-started/react-native/your-first-chart-using-react-native
For me the old documentation link worked, there was an error "undefined is not an object (evaluating '_props$chartConfig.type')" but i solved it by removing chartConfig in the file node_modules/react-native-fusioncharts/index.js#L#14 and the chart was working.