'phonegap' is not recognized as an internal or external command

后端 未结 7 2365
悲哀的现实
悲哀的现实 2021-01-04 22:26

I am trying to install phonegap 3.1 version using node.js, Command line interface.

Phonegap got installed on the machine, but I am not able to use phonegap command.

7条回答
  •  渐次进展
    2021-01-04 22:45

    One reason may be you are running window command prompt instead of node.js command prompt. you can simply press window button and then search node.js,it will show you node.js command prompt, run it and then type phonegap command there to check whether the phone gap is properly installed or not.

    if you see something like this

    Usage: phonegap [options] [commands] Description: PhoneGap command-line tool. Commands: help [command] output usage information create create a phonegap project ...

    that means phonegap has installed successfully.. you can now execute any phonegap command

提交回复
热议问题