Skip to content

Adding @nrwl/nest dependency using nx console in vscode fails #2113

Open
@spotlesscoder

Description

@spotlesscoder

Current Behavior

I receive this error

Telemetry: production
Graph - init
unable to send telemetry: Unable to connect to https://www.google-analytics.com/mp/collect?api_secret=3J_QsvygSLKfjxMXFSG03Q&measurement_id=G-TNJ97NGX40. Error: connect ECONNREFUSED 0.0.0.0:443Error running task: "ENOENT: no such file or directory, open '/workspaces/nx-tsconfig.base/package.json'"
unable to send telemetry: Unable to connect to https://www.google-analytics.com/mp/collect?api_secret=3J_QsvygSLKfjxMXFSG03Q&measurement_id=G-TNJ97NGX40. Error: connect ECONNREFUSED 0.0.0.0:443Error running task: "ENOENT: no such file or directory, open '/workspaces/nx-tsconfig.base/package.json'"
unable to send telemetry: Unable to connect to https://www.google-analytics.com/mp/collect?api_secret=3J_QsvygSLKfjxMXFSG03Q&measurement_id=G-TNJ97NGX40. Error: connect ECONNREFUSED 0.0.0.0:443

Expected Behavior

Adding dependency works

GitHub Repo

spotlesscoder/nx-tsconfig.base@bb4db42

Steps to Reproduce

  1. Start new devcontainer (see config in repo)
  2. Run npx nx init
  3. Open in vscode
  4. install nx console extension
  5. open nx console in vscode and try to add dependency @nrwl/nest

Nx Report

Node   : 20.2.0
OS     : linux-x64
npm    : 9.6.6

nx (global)  : 18.3.4
nx           : 18.3.4
@nrwl/tao    : 18.3.4

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions