PDA

View Full Version : sencha-command: Stream:"Could not open the stream"



thetuxracer
24 Aug 2011, 11:06 PM
Hello,
I downloaded the sencha-command tool from muc/sencha-command (http://github.com/muc/sencha-command). It generates an app, without problem. However, while trying to generate the controller, I face errors such as:


FileStream: No such file or directory
Stream:"Could not open the stream" (lib/Command/modules/generate/generators/controller/templates/app/controllers/Controller.js)


I created a symlink (lib/Command/modules -> sencha-command/modules) to get around the problem, and expected it to work. But after running the command


sencha generate controller foo index ../../workspace/foo

I face the problem again. I get this error:


*********************************************
Generating the foo controller
*********************************************


Creating file: app/controllers/Controller.js
FileStream: No such file or directory
Stream:"Could not open the stream" (./app/controllers/foo.js)


What gives?

Thanks,
Tux.