安装Sencha命令行工具时出现问题

时间:2013-05-28 21:27:41

标签: javascript linux sencha-touch-2 mint

我已尝试多次安装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]

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

请帮我解决一下我的操作系统问题? [Linux Mint 14(Ubuntu 12.x)]

0 个答案:

没有答案