1

尝试重新安装 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 能够解决经常出现的更新、不稳定、静默失败等问题。它运行良好一段时间,但现在它也在制造问题......

4

1 回答 1

1

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

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

于 2016-03-15T07:44:58.683 回答