While running ApigeeTool command prompt it opens and auto closes in a immediatly.

Not applicable

Hi,

I am trying apigeetool for the first time to work on node js.

I have installed apigeetool using npm install -g apigeetool command.I tried using sudo npm install -g apigeetool command but it did not working for me.So used the first command and it is saved in the location under

C:\Users\{username}\AppData\..

Tried exicuting the terminal from apigeetool,it opens up and auto closes immediately .I don't have any idea why is it behaving like this.

Please let me know if I am doing anything wrong here?

0 1 239
1 REPLY 1

Not applicable

Now I work on my cmd to create node based proxy .

I was referring apigee documention to create the nodebased proxy to my edge.

https://docs.apigee.com/api-services/content/deploying-standalone-nodejs-app

Executed below command to work on it.

$ apigeetool deploynodeapp -n myNodeApp -d .-m server.js -o myorg -e test -b /myNodeApp -u ntesla -p myPassword

It gives me an error

Error: Main Script file server.js does not seems to exist.

I belive it is suppose to create a server.js in apigee edge ,I am not sure why it is saying that the server.js is not exist.And from where it is trying to find?

Please help me in here if I am doing anything wrong.