Code Monkey home page Code Monkey logo

Comments (3)

setaman avatar setaman commented on August 17, 2024 1

Hey,
everything seems to be correct. And I definitely have a global export, just like vue-notification does. But I am not familiar with your dev environment, especially with rails. Is it possible that there are problems with the utilisation of the .umd.js bundle?

I googled the error, there are some reports of issues with Webpack and Babel Config. Also just try to remove the lib and install it again, this is the ultimative problem solving.

Please keep me updated if you get ahead. Maybe I should consider this issue for future builds

from vue-ellipse-progress.

tonystrawberry avatar tonystrawberry commented on August 17, 2024

@setaman
Thank you very much for guiding me to the right track! Indeed, there was a problem with my babel configuration.
By removing the babel plugin @babel/plugin-transform-runtime from by babel.config.js file, the error disappeared!

スクリーンショット 2020-09-13 10 22 23

I am not so familiar with Babel yet, so I don't know exactly the reason of it. Even by reading the documentation: https://babeljs.io/docs/en/babel-plugin-transform-runtime

If by any chance, you could explain the problem, I would be grateful!
Thank you!

from vue-ellipse-progress.

setaman avatar setaman commented on August 17, 2024

@tonystrawberry

I am also not a Babel expert. In most cases the default configuration is sufficient for me, especially in vue-cli projects. I only confront Babel when I have such errors, also when using other libraries. I would also recommend to use the most recent version of Webpack and Babel Tools.

from vue-ellipse-progress.

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.