Giter VIP home page Giter VIP logo

Comments (11)

thomasleveil avatar thomasleveil commented on September 26, 2024 1

Here are my versions :

  • node v20.8.1
  • highcharts-vue 1.4.3
    we are building using vue-cli, so in the end the command is vue-cli-service serve.
    I cannot share my code as this is not a personal project

from highcharts-vue.

andrescellini avatar andrescellini commented on September 26, 2024 1

same problem

from highcharts-vue.

jszuminski avatar jszuminski commented on September 26, 2024

Thanks for reporting @thomasleveil!

I will investigate this issue this week. In the meantime, could you please share more details about your environment?

  • which version of Node, npm are you using?
  • which version of highcharts-vue are you using?
  • how are you building your project?
  • could you please share your package.json config?

Thanks in advance!

from highcharts-vue.

jszuminski avatar jszuminski commented on September 26, 2024

Thanks! I'm currently looking into this problem and will try to propose a solution (or at least a workaround) by the end of the next week.

from highcharts-vue.

jszuminski avatar jszuminski commented on September 26, 2024

You pointed out correctly that the most probable cause of this issue is the following update:

Upgraded the build pipeline to benefit from new language features. Bundles are now compiled to ES2020 by the TypeScript compiler (.src.js files), and minified by swc (.js files).

It seems to me, however, that this issue is unrelated to the highcharts-vue package, but more to the highcharts package. Either way, I will try to help you solve this issue. Could you please share your webpack config so I can take a look?

It might be the case that your webpack configuration does not support the ES2020 format.

By updating your webpack setup and ensuring it can handle ES2020 features, you should be able to resolve the issue and successfully build your project with Highcharts 11.2.0.

from highcharts-vue.

SamPulmanCL avatar SamPulmanCL commented on September 26, 2024

We are getting the same issue

from highcharts-vue.

jszuminski avatar jszuminski commented on September 26, 2024

@SamPulmanCL @andrescellini @thomasleveil could you please try to reproduce this issue? It would be great if you could share a minimal reproducible example (like a small .zip) where I could see and investigate this error.

from highcharts-vue.

thomasleveil avatar thomasleveil commented on September 26, 2024

Hi @jakubSzuminski, unfortunately the project I'm having the issue on is too big of a mess right now for me to successfully upgrade all the tooling dependencies (webpack and so on). I tried and failed. One day or the other we'll have to pay that price, but our current planning and deadlines won't allow that before 2024Q2.

from highcharts-vue.

jszuminski avatar jszuminski commented on September 26, 2024

Absolutely, I understand. If you cannot update your webpack config then I'd probably advise you to stick with Highcharts 11.1.0 until then.

from highcharts-vue.

evan7diab avatar evan7diab commented on September 26, 2024

same to me, it seems the webpack fails to load highcharts.js

from highcharts-vue.

jszuminski avatar jszuminski commented on September 26, 2024

Could you please reproduce it @evan7diab? We could then investigate this problem and try to propose a solution.

from highcharts-vue.

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.