无法安装 Appcelerator CLI - 在解压缩的树中找不到包

Cannot install Appcelerator CLI - package wasn't found in unpacked tree

尝试重新安装 Appcelerator CLI(今天可用的 5.2.0)时,我在 运行 npm install appcelerator -g 时遇到以下错误。那是什么意思?我尝试卸载我拥有的旧版本,但是否仍然存在一些问题? (试过npm cache clear但没用)

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\>node --version
v4.3.1

C:\>npm install appcelerator -g
npm WARN installMany request was bundled with appcelerator@4.2.3, but bundled pa
ckage wasn't found in unpacked tree
npm WARN installMany chalk was bundled with appcelerator@4.2.3, but bundled pack
age wasn't found in unpacked tree
npm WARN installMany progress was bundled with appcelerator@4.2.3, but bundled p
ackage wasn't found in unpacked tree
npm WARN installMany tar was bundled with appcelerator@4.2.3, but bundled packag
e wasn't found in unpacked tree
npm WARN installMany which was bundled with appcelerator@4.2.3, but bundled pack
age wasn't found in unpacked tree
npm WARN installMany debug was bundled with appcelerator@4.2.3, but bundled pack
age wasn't found in unpacked tree
npm WARN installMany lodash was bundled with appcelerator@4.2.3, but bundled pac
kage wasn't found in unpacked tree
npm WARN installMany request was bundled with appcelerator@4.2.3, but bundled pa
ckage wasn't found in unpacked tree
C:\Users\Allan\AppData\Roaming\npm\appc -> C:\Users\Allan\AppData\Roaming\npm\no
de_modules\appcelerator\bin\appc
C:\Users\Allan\AppData\Roaming\npm\appcelerator -> C:\Users\Allan\AppData\Roamin
g\npm\node_modules\appcelerator\bin\appc
appcelerator@4.2.3 C:\Users\Allan\AppData\Roaming\npm\node_modules\appcelerator
├── which@1.0.8
├── progress@1.1.8
├── async@1.5.2
├── semver@3.0.1
├── debug@2.2.0 (ms@0.7.1)
├── chalk@0.5.1 (escape-string-regexp@1.0.5, ansi-styles@1.1.0, supports-color@0
.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
├── update-notifier@0.5.0 (is-npm@1.0.0, semver-diff@2.1.0, string-length@1.0.1,
 chalk@1.1.1, repeating@1.1.3, configstore@1.4.0, latest-version@1.0.1)
├── request@2.69.0 (aws-sign2@0.6.0, forever-agent@0.6.1, tunnel-agent@0.4.2, oa
uth-sign@0.8.1, caseless@0.11.0, is-typedarray@1.0.0, form-data@1.0.0-rc3, strin
gstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, tough-co
okie@2.2.1, node-uuid@1.4.7, qs@6.0.2, combined-stream@1.0.5, mime-types@2.1.10,
 aws4@1.2.1, bl@1.0.3, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)
├── tar@1.0.3 (inherits@2.0.1, block-stream@0.0.8, fstream@1.0.8)
└── lodash@4.5.1

我还看到 Appcelerator 已更新 https://web.appcelerator.com/product/cli 现在提到 Node 版本 4.3.1 - 而不是某些 0.x 版本。所以我确保将我的节点升级到相同的版本。

PS。我对应用程序开发中不断出现的问题感到非常厌倦。首先,我离开了 Studio,希望 CLI 能够解决更新、不稳定、静默失败等经常出现的问题。运行 暂时还不错,但现在它也出现了问题...

发现您只需要忽略这些警告,然后 运行 appc setup

(之前的回答怎么了?为什么被删了?!)