全部,
我最近将我的开发环境从 windows7 切换到了 Ubuntu12,除了咖啡脚本之外,一切都运行得很顺利。我已经执行了这个确切的命令序列:
sudo apt-get install nodejs
sudo apt-get install npm
//checked that both are their latest versions
npm -g install coffee-script
当我这样做时,我只看到以下几行
npm http GET https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/coffee-script
/usr/bin/coffee -> /usr/lib/node_modules/coffee-script/bin/coffee
/usr/bin/cake -> /usr/lib/node_modules/coffee-script/bin/cake
coffee-script@1.4.0 /usr/lib/node_modules/coffee-script
which coffee 和 which cake 指向 /usr/bin/coffee|cake 但这些命令实际上什么都不做。
我很茫然。
请发送帮助!
史蒂夫凯恩