Open qb411 opened 1 year ago
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.
Hi, I'm getting the same error when attempting to clone locally as well!
Command that I have run nr1 nerdpack:clone -r https://github.com/newrelic/nr1-cloud-optimize.git
Operating System - MacOS
Doing a clone via git clone
also causes alot of npm errors when trying to serve
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.