好的,我从今年7月开始安装并运行了phonegap,这不是一个简单的安装在Windows上,但我管理它。但是今天我决定更新node,cordova和phonegap,原因是我的iphone上的phonegap CLI出现了问题。
我现在不能再使用phonegap或cordova .... cmd提示符下的NPM已被识别,但不是phonegap或cordova。 如果我回显路径env变量,我得到这个:
C:\ Program Files \ Common Files \ Microsoft Shared \ Windows Live; C:\ Program 文件(x8 6)\ Common Files \ Microsoft Shared \ Windows Live; C:\ Program Files \ AuthenTec TrueSui te \; C:\ Program Files \ AuthenTec TrueSuite \ x86; C:\ Program Files(x86)\ Intel \ iCLS C lient \; C:\ Program Files \ Intel \ iCLS Client \; C:\ Program Files(x86)\ AMD APP \ bin \ x8 6_64; C:\ Program Files(x86)\ AMD APP \ BIN \ 86; C:\ WINDOWS \ SYSTEM32; C:\ WINDOWS; C:\无线 ndows \ SYSTEM32 \ WBEM; C:\ WINDOWS \ SYSTEM32 \ WindowsPowerShell \ V1.0 \; C:\ PROGRAM 文件(x86)\ ATI Technologies \ ATI.ACE \ Core-Static; C:\ Program Files \ Intel \ Intel(R)Mana gement Engine Components \ DAL; C:\ Program Files \ Intel \ Intel(R)Management Engine C omponents \ IPT; C:\ Program 文件(x86)\ Intel \ Intel(R)管理引擎组件 \ DAL; C:\ Program Files(x86)\ Intel \ Intel(R)Management Engine Components \ IPT; C:\ P rogram Files \ Intel \ WiFi \ bin \; C:\ Program Files \ Common Files \ Intel \ WirelessCommon \; C:\ Program Files \ Sony \ VAIO 改进\; C:\ Program Files(x86)\ Sony \ VAIO Startu p Setting 工具; c:\ Program Files(x86)\ Common Files \ Roxio Shared \ DLLShared \; c:\ Pr ogram Files(x86)\ Common Files \ Roxio Shared \ OEM \ DLLShared \; c:\ Program 文件(x86)\ Common Files \ Roxio Shared \ OEM \ DLLShared \; c:\ Program Files (x86)\ Common Files \ R oxio Shared \ OEM \ 12.0 \ DLLShared \; c:\ Program Files (x86)\ Roxio 2010 \ OEM \ AudioCore \; C:\ Program Files(x86)\ Windows Live \ Shared; C:\ Program Files \ Microsoft \ Web Platf orm Installer \; c:\ Program Files(x86)\ Microsoft SQL Server \ 100 \ Tools \ Binn \; c:\ Program Files \ Microsoft SQL Server \ 100 \ Tools \ Binn \; c:\ Program Files \ Microsoft SQL Server \ 100 \ DTS \ Binn \; c:\ Program Files(x86)\ Microsoft SQL Server \ 100 \ Tools \ Binn \ VSShell \ Common7 \ IDE \; c:\ Program Files (x86)\ Microsoft SQL Server \ 100 \ DTS \ Binn \; C:\ Program Files \ Microsoft SQL Server \ 110 \ Tools \ Binn \; C:\ Program Files \ TortoiseSV N \ bin; C:\ Program Files \ Java \ jdk1.8.0_05; C:\ Program Files \ nodejs \; C:\ Program File s(x86)\ Git \ bin; C:\ Program Files (86)\ GIT中\ CMD; C:\用户\康尼\应用程序数据\漫游\ n 下午\ node_modules \蚂蚁\蚂蚁\ BIN; C:\移动\ ADT-束 - 窗口x86_64-20140624 \ SDK \ PLA TForm的工具; C:\移动\ ADT-束 - 窗口x86_64-20140624 \ SDK \工具; C:\移动\ APA che-ant-1.9.4 \ bin; C:\ Users \ Connie \ AppData \ Roaming \ npm; C:\ Users \ Connie \ AppData \ Ro aming \ npm
我的temp和tmp env vars是:
C:\用户\康尼\应用程序数据\本地\温度
此目录确实存在我已检查"C:\Users\Connie\AppData\Roaming\npm"
在此目录下面是phonegap和cordova文件夹
C:\用户\康尼\应用程序数据\漫游\ NPM \ node_modules \的PhoneGap C:\ Users \用户康尼\应用程序数据\漫游\ NPM \ node_modules \科尔多瓦
但如果我在命令提示符下键入cordova或phonegap,我会得到: C:\移动\项目\ vtfood>科尔多瓦 'cordova'不被视为内部或外部命令, 可操作程序或批处理文件。
C:\移动\项目\ vtfood> PhoneGap的
'phonegap'未被识别为内部或外部命令, 可操作程序或批处理文件。
任何人的想法....我已经搜索并尝试了各种建议,但似乎没有任何东西适合我。 :( 感谢