Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. zigg 💻 (zigg@cybre.space)'s status on Wednesday, 28-Mar-2018 09:51:56 EDT zigg 💻 zigg 💻

    Microsoft: "TypeScript 2.8 is here...! [Install it] by running

    `npm install -g typescript`"

    No. Stop. Don't do that. Don't npm install -g a tool you need in your project. Install it as a dependency (possibly dev) _of_ your project, so that other people who use your code don't have to globally modify their system to get your code to work.

    As luck would have it, I've written about this very topic. https://spin.atomicobject.com/2016/02/22/npm-install-dangerous/ #Node #JavaScript

    In conversation Wednesday, 28-Mar-2018 09:51:56 EDT from cybre.space permalink

    Attachments

    1. Why You Shouldn't "npm install -g"
      from Atomic Spin
      Why you should never "npm install -g" a Node.js package when a project-local install will do.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.