newrelic / nr1-github

NR1 Github allows you to create more context to your entities by having access to the GitHub repository, contributors and README.
https://github.com/newrelic/nr1-github/discussions
Apache License 2.0
19 stars 27 forks source link

Error: Cannot destructure property 'path' of 'flags' as it is undefined #108

Closed alessandro-newzoo closed 1 year ago

alessandro-newzoo commented 1 year ago

Description

I'm trying to run nr1 nerdpack:clone -r https://github.com/newrelic/nr1-github.git but I constantly get this error and no cloning will happen:

nr1 nerdpack:clone -r https://github.com/newrelic/nr1-github.git
 ›   Error: Cannot destructure property 'path' of 'flags' as it is undefined.
 ›   Code: UNKNOWN

Steps to Reproduce

Expected Behaviour

The command should clone the git repo

Relevant Logs / Console output

image

Your Environment

alessandro-newzoo commented 1 year ago

actually I've bumped into the same issue with another package nr1 nerdpack:clone -r https://github.com/newrelic/nr1-browser-analyzer.git so I guess the problem comes from the NR1 CLI. Apologies I'll post my issue somewhere else then!