Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-1377

Unable to locate module ti.cloud when launching Mobile Web application

    Details

    • Story Points:
      5

      Description

      Summary:
      When a single window template application is selected to be run on Mobile Web Preview on Browser and Mobile Web Preview on Emulator, an error is shown

      Steps to Reproduce:
      1. Create a new app, with template as Single Windows
      2. Click on the run button and select the option for Mobile Web Preview on Browser or Mobile Web Preview on Emulator
      An error is shown

      Unable to generate Mobile Web App. Error:

      [INFO] Titanium Mobile Web Compiler v2.0.0.v20120320000301
      [INFO] Compiling Mobile Web project "SingleWindow" [development]
      [INFO] Copying /Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120320000301/mobileweb/themes...
      [INFO] Copying /Users/ingo/Documents/Aptana Studio 3 Workspace/SingleWindow/Resources...
      [INFO] Copying /Users/ingo/Documents/Aptana Studio 3 Workspace/SingleWindow/Resources/mobileweb...
      [INFO] Copying /Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120320000301/mobileweb/titanium...
      [INFO] Scanning project for dependencies...
      [INFO] Searching for all required modules...
      [INFO] Locating Ti+ modules...
      [ERROR] Unable to find Ti+ module "ti.cloud", v2.0

      It appears that the platform="commonjs" is being left off the module definition, which then causes this issue.

        Attachments

          Activity

            People

            • Assignee:
              sgibly Shalom Gibly
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: