GithubHelp home page GithubHelp logo

Comments (7)

loganfsmyth avatar loganfsmyth commented on September 26, 2024 1

This sounds like an instance of https://phabricator.babeljs.io/T3051, if you update your version of babel-traverse you should be all set.

from babel-plugin-transform-decorators-legacy.

loganfsmyth avatar loganfsmyth commented on September 26, 2024

Closing, but feel free to let me know if that doesn't work.

from babel-plugin-transform-decorators-legacy.

silkentrance avatar silkentrance commented on September 26, 2024

For those who are having the same problem, you need to install [email protected] globally if you have babel / babel-cli installed globally, too. Otherwise, this will not work.

from babel-plugin-transform-decorators-legacy.

loganfsmyth avatar loganfsmyth commented on September 26, 2024

Yes, sorry should have clarified. babel-traverse is a subdependency of babel-core, so really you'll need to update your primary babel install. The easiest thing to do is probably delete and reinstall Babel.

Installing babel globally is also generally not recommended.

from babel-plugin-transform-decorators-legacy.

silkentrance avatar silkentrance commented on September 26, 2024

@loganfsmyth I tried, babel-core is at version 6.3.13 and so is babel-traverse when installing it via npm. The only way for me to make this work was to manually install [email protected].

from babel-plugin-transform-decorators-legacy.

loganfsmyth avatar loganfsmyth commented on September 26, 2024

@silkentrance Babel uses ranges. babel-core is at 6.3.17 but it depends on babel-traverse@^6.3.17 which means it will install >=6.3.17 < 7.0.0

from babel-plugin-transform-decorators-legacy.

silkentrance avatar silkentrance commented on September 26, 2024

@loganfsmyth perhaps we should tell [email protected] to behave that way 😁, at least on my system, that is.

from babel-plugin-transform-decorators-legacy.

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.