newrelic / nr1-groundskeeper

NR1 Groundkeeper allows you to generate a live view of all the APM agents across your Services.
https://discuss.newrelic.com/t/groundskeeper-nerdpack/84168
Apache License 2.0
7 stars 20 forks source link

Can't install following instructions, Error: Cannot destructure property 'path' of 'flags' as it is undefined. #125

Closed carcaussa closed 8 months ago

carcaussa commented 8 months ago

Description

I am following the provided guide to install Groundskeeper, but when I execute: nr1 nerdpack:clone -r https://github.com/newrelic/nr1-groundskeeper.git

I receive the error: » Error: Cannot destructure property 'path' of 'flags' as it is undefined. » Code: UNKNOWN

Steps to Reproduce

Download the new relic client and configure the profile according to the New Relic developer center "Build on New Relic" Try to install the app according to the documentation in https://github.com/newrelic/nr1-groundskeeper When executing the first step of the clone: nr1 nerdpack:clone -r https://github.com/newrelic/nr1-groundskeeper.git the error happens

Expected Behaviour

Clone of Git the repository

Relevant Logs / Console output

» Error: Cannot destructure property 'path' of 'flags' as it is undefined. » Code: UNKNOWN

Your Environment

Additional context

Windows git version 2.42.0.windows.2 npm version 10.2.3

Mac git version 2.39.3 (Apple Git-145) npm version 9.6.4

aso1124 commented 8 months ago

Hi @carcaussa -

Unless you are planning to customize the code base, I would actually recommend you leverage the version of the app deployed to the global app catalog. To do so, log in to New Relic, go to Add Data > Apps and Visualizations and search for "Groundskeeper". Click the tile and subscribe the app to the your account(s).

If you were planning to play around with a custom version, could you try using just the vanilla git clone command instead? Overall you will need to run the following sets of commands:

git clone [repo-url]
cd nr1-groundskeeper
npm install
nr1 nerdpack:uuid -fg

That last command will create a new unique identifier for the app, which is necessary in order to deploy it.

carcaussa commented 8 months ago

Thank you I just did that and the app is showing and I can use it