Git Product home page Git Product logo

Comments (7)

sarbbottam avatar sarbbottam commented on July 1, 2024 1

This is strange, I uninstalled the global ember-native-class-codemod and ran with npx, it worked fine.

from ember-native-class-codemod.

rwjblue avatar rwjblue commented on July 1, 2024

In general, I would not advise running globally. Using npx will make sure to get you the latest every time...

from ember-native-class-codemod.

sarbbottam avatar sarbbottam commented on July 1, 2024

I am running the code mod on a smaller subset of files. Since this codemod needs to install chromium, every npx execution is taking substantially longer.

Also, I installed the codemod globally just a few minutes prior to the npx run.

from ember-native-class-codemod.

ballPointPenguin avatar ballPointPenguin commented on July 1, 2024

I'm seeing the same error, running as npx ember-native-class-codemod http://localhost:4200 app/controllers/*.js

from ember-native-class-codemod.

ballPointPenguin avatar ballPointPenguin commented on July 1, 2024

Similarly I installed a fresh node version with nvm (12.18.3) and ran again with npx and it works!
It does seem like clearing the global modules may be the reason it's working for me.

from ember-native-class-codemod.

gabrielcsapo avatar gabrielcsapo commented on July 1, 2024

Is there a reason this won't work when running globally?

from ember-native-class-codemod.

rwjblue avatar rwjblue commented on July 1, 2024

Is there a reason this won't work when running globally?

No, but there are combinations of conflicting versions that folks hit which is not an issue when using npx (vs a permanent global install). I think volta install would also probably work just fine, but haven't tried it.

from ember-native-class-codemod.

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.