Git Product home page Git Product logo

Comments (2)

calebjclark avatar calebjclark commented on June 3, 2024

@GlenDC, you are welcome to install it globally -- and it works great when installed globally. However, there are a few reasons why our default recommendation is to install locally:

The foremost reason is that by adding it into your local package.json, you are able to lock the version number. This ensures that your local code won't break because another project is using a different version. Equally important this allows you to deploy to production with the assurance that your production version will be the same as your development. Relying on globally installed node packages does not allow this (so far as I know).

The good news is the majority of the package size is from downloading Chrome, and in this area we have optimized SecretAgent so that all your locally installed versions should share the same Chrome download. This means that once you install it in one project, the other nine should be relatively quick and small.

from secret-agent.

GlenDC avatar GlenDC commented on June 3, 2024

That makes total sense. I guess the chrome version does depend also on your version of secret agent, so you might never the less need multiple chrome versions? I wonder if a small percept from this nice explanation of yours could be put in the linked documentation page, as it does help. It is however not that important that I you would want these 3 paragraphs there, I imagine. Either way, for me that does explain it nicely. Thank you for this :)

from secret-agent.

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.