Skip to content

Repo: Many dev commands require a global nx command #7987

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

Commands prefixed with nx (e.g. nx run ...) require either something like npx nx in front or a global nx script, such as from npm i -g npm. If you don't then trying to run them gives an error:

josh ~/repos/typescript-eslint/packages/website $ yarn start
command not found: nx

Running a search for ": "nx in package.json files, we get 40 results in 18 files right now.

I think we have two likely workarounds:

  • Explicitly require dev machines have run something like npm i -g nx
  • Prefix all those commands with something like npx (e.g. instead of `nnx

Metadata

Metadata

Assignees

No one assigned

    Labels

    repo maintenancethings to do with maintenance of the repo, and not with code/docstriageWaiting for team members to take a look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy