Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

'mvn' is not recognized as an internal or external command,Exception: 'mvn' is not recognized as an internal or external command

While I ws setting up the lab for the apigee course, I'm getting the following exception:

When I give node setup and provide relavant apigee details, the following exceptions are seen:

Modified files: [object Object] 'mvn' is not recognized as an internal or external command, operable program or batch file. (node:12264) UnhandledPromiseRejectionWarning: #<Object> (node:12264) 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: 1) (node:12264) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 'mvn' is not recognized as an internal or external command, operable program or batch file. (node:12264) UnhandledPromiseRejectionWarning: #<Object> (node:12264) 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)

Please let me know how to get around this issue.

,

Team - I'm trying to setup the environment for apigee course and followed the instructions.

When I give node setup and provide relevant details, it fails with the following exception:

----

Modified files: [object Object] 'mvn' is not recognized as an internal or external command, operable program or batch file. (node:12264) UnhandledPromiseRejectionWarning: #<Object> (node:12264) 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: 1) (node:12264) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 'mvn' is not recognized as an internal or external command, operable program or batch file. (node:12264) UnhandledPromiseRejectionWarning: #<Object> (node:12264) 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)

-------

Can you please let me know how to get over this problem?

Thanks.

0 4 1,369
4 REPLIES 4
Top Solution Authors