Code Monkey home page Code Monkey logo

Comments (6)

EvHaus avatar EvHaus commented on August 27, 2024

Hmm, upgrading the JSCS version inside the extension directory should do the trick. Have you tried closing and re-opening Brackets after upgrading?

from brackets-jscs.

glepretre avatar glepretre commented on August 27, 2024

Nope 😄 I had just tried to reload it with F5.
Closing and reopening worked 😉

Is it normal that even if your package.json set "jscs": "latest" : it is installed with [email protected] from the extensions registry?

from brackets-jscs.

EvHaus avatar EvHaus commented on August 27, 2024

Yeah, you need to fully shut down Brackets because JSCS actually runs inside the Node.js instance and F5'ing Brackets just reloads the UI.

from brackets-jscs.

hacker112 avatar hacker112 commented on August 27, 2024

I also have problem that brackets-jscs does install 1.13.1 instead of 2.x. If I manually delete the node_modules folder and run a npm install in the folder I get 2.1.0. BUT when I remove the brackets-jscs, even restart the computer and then reinstall the extension I get 1.13.1 installed.

It is like it is somehow some cached value of "latest" that is used. Do you know where this weird error comes from and how it can be solved without installing it manually?

from brackets-jscs.

glepretre avatar glepretre commented on August 27, 2024

@hacker112 I think that the archive provided by the registry is bundled and cached when the version gets updated 😉

from brackets-jscs.

hacker112 avatar hacker112 commented on August 27, 2024

@glepretre That makes sense, even though it seems like a bit of bad design ;-)

@globexdesigns Could you explicitly increase the version number of JSCS and bump the version in the Brackets Registry? :)

from brackets-jscs.

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.