nx-console icon indicating copy to clipboard operation
nx-console copied to clipboard

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

Open spotlesscoder opened this issue 1 year ago • 0 comments

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

https://github.com/CodingSpiderFox/nx-tsconfig.base/commit/bb4db429b6596bcb28c66867f482426b33b29b78

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
  • [X] Linux
  • [X] Windows
  • [ ] Other (Please specify)

Additional Information

No response

spotlesscoder avatar Apr 27 '24 16:04 spotlesscoder