Apigeetool can't find my main node.js file when deploying

Hi all, I'm getting the following error:

$ apigeetool deploynodeapp -n myNodeTest -d. -m app.js -o apitutorial -e test -b /myNodeTest -u myUsername -p myPassword Invalid arguments: Error: Unknown argument app.js

My app.js file is exactly on the right directly, am I missing something here please someone help.

Solved Solved
0 3 192
1 ACCEPTED SOLUTION

sgilson
Participant V

Is there a missing space in the "-d." argument? Should that be "-d ."?

Stephen

View solution in original post

3 REPLIES 3

sgilson
Participant V

Is there a missing space in the "-d." argument? Should that be "-d ."?

Stephen

@Vuyolwethu Booi Yes -- that is the problem -- you need a space between the "d" and the "." I get the same error message when there is no space.

Silly me a little stupid mistake can waste your time, thank you guys @sgilson and @wwitman