0

我曾多次尝试安装 Sencha 命令行工具,但仍然卡住了。这是我的命令行的输出。

$ projects/sencha-touch-2.2.0 → sencha

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module '/media/me/DATA/projects/sencha-touch-2.2.0/command/sencha.js'
    at Function._resolveFilename (module.js:332:11)
    at Function._load (module.js:279:25)
    at Array.0 (module.js:479:10)
    at EventEmitter._tickCallback (node.js:192:40)


$ cat ~/.zshrc
...
# sencha touch sdk
PATH=$PATH:/opt/SenchaSDKTools-2.0.0-beta3/:/opt/SenchaSDKTools-2.0.0-beta3/bin
SENCHA_SDK_TOOLS_2_0_0_BETA3=/opt/SenchaSDKTools-2.0.0-beta3
# Added by install script for node.js and npm in 30s
export PATH=$HOME/local/bin:$PATH
export NODE_PATH=$HOME/local/lib/node_modules

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

$ projects/sencha-touch-2.2.0 → node --version
v0.10.6
$ projects/sencha-touch-2.2.0 → ruby --version
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]

我在不同的论坛上发现我需要版本 3+ 的 SDK 工具,但我能够为 Linux 获得的唯一下载标记为 SenchaCmd-3.1.2.342-linux-x64.run,我希望它是正确的安装文件.

你能帮我让它在我的操作系统上运行吗?[Linux Mint 14 (Ubuntu 12.x)]

4

0 回答 0