GithubHelp home page GithubHelp logo

Comments (7)

pawelfus avatar pawelfus commented on July 25, 2024

Hi @TrueGeek

Unfortunately, I haven't seen this error. I can not find package highcharts-react-office in the NPM and the only reference in this repo to office is ... this issue. Is this exactly the error from console?

Every similar bug report on github refers to.. babel-preset-env and that babel-preset-env should be installed. We have this in devDependencies, but it seems wrong to require this, even for a workaround if you don't need it. Could you provide more details? Steps to reproduce and minimal example would be great, thanks!

from highcharts-react.

TrueGeek avatar TrueGeek commented on July 25, 2024

Sorry, no, that's a typo at the end. highcharts-react-office should be highcarts-react-official.

Here are the complete steps to recreate:

In a terminal:

react-native init HighchartsTest

cd HighchartsTest

npm install highcharts-react-official highcharts react react-dom

npm install

react-native run-ios

The app loads fine at this point.

In App.js add these three lines at the top:

import { render } from 'react-dom'
import Highcharts from 'highcharts'
import HighchartsReact from 'highcharts-react-official'

The result is this:

simulator screen shot - iphone 6 - 2018-06-20 at 11 22 13

from highcharts-react.

pawelfus avatar pawelfus commented on July 25, 2024

Thank you for the details. You are right, it's buggy. We will check what happens there.

from highcharts-react.

sebastianbochan avatar sebastianbochan commented on July 25, 2024

Hi @TrueGeek,
The reason of problem is missing three packages of babel.

  • babel-core
  • babel-preset-react
  • babel-preset-env

After installation, I do not have any errors in emulator iOS and Expo.

Related topic: babel/babel-preset-env#186

from highcharts-react.

Anujmoglix avatar Anujmoglix commented on July 25, 2024

in react native getting issue with div ,

from highcharts-react.

Nagu07 avatar Nagu07 commented on July 25, 2024

Can some one help how you resolved this issue

from highcharts-react.

ppotaczek avatar ppotaczek commented on July 25, 2024

Hi @Nagu07,

Please provide me with more information about the issue and your project configuration settings because this problem should no longer be present.

from highcharts-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.