Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Gertting fastdev working on Windows 7

I have followed the guides here and here on fastdev to no avail. When I try to start the fastdev server as described in the blog, I get the following error:

Unknown command: fastdev

Any ideas?

— asked May 16th 2011 by Bart Lewis
  • fastdev
0 Comments

7 Answers

  • So, Appcelerator people - why is it possible to run the titanium command from the windows cmd prompt but not from Studio Terminal? The correct path is clearly in place. Frustrating.

    — answered June 21st 2011 by Mark Hughes
    permalink
    1 Comment
    • I just tried what Tamas said below - run 'cmd' from within the terminal, and that then runs windows command line, which in turn runs titanium ok for me. Still seems odd that terminal needs to run cmd first!

      — commented June 21st 2011 by Chris King
  • I had the same problem. Well, similar as it seems. I installed Ti Studio, git and still got error when trying to use titanium command from Ti Studio's terminal. I figured out that that I only need to enter "cmd" first to load command prompt in the Terminal, then I could use titanium command without any problem. ;) I also didn't want to have a separate command prompt window open, so I went this way. Hope it helps for some folks…

    — answered May 20th 2011 by Tamas Rakoczi
    permalink
    0 Comments
  • I've found a workaround for how to run it without starting windows cmd.
    1) Add path to python.exe to your PATH
    2) Run all the commands as titanium.py ….., for example titanium.py fastdev start

    — answered December 17th 2011 by Slava Koltovich
    permalink
    0 Comments
  • What version of Ti sdk are you using?
    You will need one from the latest builds ( >= 1.7.0 )
    ( I'm not on win, but it happened to me on mac as well)

    — answered May 16th 2011 by Dan Tamas
    permalink
    0 Comments
  • Hi

    I have the same issue, i use 1.7.0 CI build - windows 7 - Ti studio, followed this guide but no luck cant get to make fastdev work.

    command line tool is working ie. entering command "titanium" on command prompt works but throws "command not found" on Ti studio terminal window.

    Any Help ???

    — answered May 16th 2011 by Satta Ravi
    permalink
    4 Comments
    • having the same issue, what was the answer?

      — commented May 28th 2011 by josh tischer
    • Have you added the titanium library path to the PATH environment variable? See here for instructions http://wiki.appcelerator.org/display/guides/Titanium+Command-line+tool

      — commented June 1st 2011 by Pat O'Callaghan
    • Yes of-course i did and that was why i have mentioned "command line tool is working ie. entering command "titanium" on command prompt works " in my above reply…

      — commented June 2nd 2011 by Satta Ravi
    • Did you ever find out why it wasn't working in Studio Terminal, but OK in Win7 CMD? I have same issue. Thanks

      — commented June 18th 2011 by Chris King
  • As I see the newest Ti Studio beta build starts now fastdev automatically for the Android emulator. Maybe you should also install updates from beta channel and see if your problem gets solved now.

    — answered May 28th 2011 by Tamas Rakoczi
    permalink
    0 Comments
  • Anyone get this answered - I can't get fastdev running either. I just get unknown command: fastdev. If I enter 'titanium' into the command line (via windows cmd), then I get this:

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\CHRIS>titanium
    Appcelerator Titanium
    Copyright (c) 2010 by Appcelerator, Inc.
    
    commands:
    
      create      - create a project
      run         - run an existing project
      emulator    - start the emulator (android)
      docgen      - generate html docs for a module (android)
      help        - get help
    
    C:\Users\CHRIS>
    

    It doesn't show fasdev as an option (as it does in the guides).

    I have set the environment variables to suit my Windows 7 set-up as described, and have the latest build of Studio installed.

    If I try and call titanium via the Terminal within Studio, it says

    sh.exe": titanium: command not found

    So, very confused.

    — answered June 18th 2011 by Chris King
    permalink
    1 Comment
    • Just a quick update for anyone who has this issue - you need the LATEST build not just 1.7.0 as stated in the guides. I downloaded 1.7.1 and now fastdev appears in the windows cmd prompt - still not recognised in the Studio terminal mind, but as long as it works, I don't care.

      OK, I'm off to check it out.

      — commented June 18th 2011 by Chris King
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.