You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been continuing to see an error when attempting to use the clone command within the repo:
› Error: Cannot destructure property 'path' of 'flags' as it is undefined.
› Code: UNKNOWN
I've also confirmed NPM and Git are installed on the AWS Linux instance I'm using this on. I've also been able to create a basic nerdpack of my own without issue, so it appears to be something odd with the sync process
Steps to Reproduce
On a Linux EC2 instance running Amazon Linux, begin by SSH'ing into the instance and ensuring git/npm are installed. Once complete run the command and you will see the resulting error above.
Expected Behaviour
For it to clone the repository and allow deployment deployment.
Relevant Logs / Console output
See above
Your Environment
NR1 CLI version used: @datanerd/nr1/2.83.5 linux-x64 node-v16.11.1
Browser name and version: none
Operating System and version: AWS Linux 2
Additional context
I was able to clone the repo with git, but it still errors out complaining of various fields not existing. when attempting to serve it to the new relic environment.
The text was updated successfully, but these errors were encountered:
When you are local serving the app, you should do it from your local machine. The CLI will open a port that your local browser must interact with, as well as setup certs for security. So doing this on a headless linux EC2 over ssh won't really yield any result.
If you want to add this application to your account it is easier to just simply add it from the catalog.
However if you still do want to locally serve it, you should be doing it from you local machine, this method is typically used when developing or debugging or perhaps you have made some tweaks and then chosen to deploy your own modified version into your account.
Description
I've been continuing to see an error when attempting to use the clone command within the repo:
› Error: Cannot destructure property 'path' of 'flags' as it is undefined.
› Code: UNKNOWN
This is from the command to clone the nerdpack:
nr1 nerdpack:clone -r https://github.com/newrelic/nr1-cloud-optimize.git
I've also confirmed NPM and Git are installed on the AWS Linux instance I'm using this on. I've also been able to create a basic nerdpack of my own without issue, so it appears to be something odd with the sync process
Steps to Reproduce
On a Linux EC2 instance running Amazon Linux, begin by SSH'ing into the instance and ensuring git/npm are installed. Once complete run the command and you will see the resulting error above.
Expected Behaviour
For it to clone the repository and allow deployment deployment.
Relevant Logs / Console output
See above
Your Environment
Additional context
I was able to clone the repo with git, but it still errors out complaining of various fields not existing. when attempting to serve it to the new relic environment.
The text was updated successfully, but these errors were encountered: