Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Environment set up for Coursera error: node setup issue

I am setting up the env for coursera lab for Apigee specialization: https://www.coursera.org/learn/api-design-apigee-gcp/supplement/7F4BP/setting-up-an-environment-for-... I have completed all the steps up to the node set up and I am getting the following error.

I executed the following commands and I get the following error. I have seen a previous post regarding this and it seem the solution was put in the new setup.zip but I am facing the issue again.

$ node setup
prompt: Please provide the Apigee Edge username:  abc@example.com
prompt: Please provide the Apigee Edge password:  ************


prompt: Please provide the Apigee Edge Organization name:  testOrg
prompt: Please provide the Apigee Edge Environment name:  test
prompt: Please provide the Firebase Host name:  apigee-engg-training-2343432.firebaseio.com




p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Andale Mono'; color: #fcf487; background-color: #292929; background-color: rgba(41, 41, 41, 0.6)}
span.s1 {font-variant-ligatures: no-common-ligatures}



[INFO] ------------------------------------------------------------------------

[INFO] Total time: 5.277 s

[INFO] Finished at: 2019-05-06T13:49:36-04:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal com.apigee.edge.config:apigee-config-maven-plugin:1.2.1:targetservers (create-config-targetserver) on project edge-developer-training-backend: Apigee network call error 401 Unauthorized -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

(node:15600) UnhandledPromiseRejectionWarning: #<Object>

(node:15600) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

1 8 529
8 REPLIES 8