Titanium JIRA Archive
Appcelerator Community (AC)

[AC-477] Appcelerator Studio. Can't debug commonjs module due "Source not found"

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2015-11-29T08:56:22.000+0000
Affected Version/sAppcelerator Studio 4.3.2
Fix Version/sn/a
ComponentsStudio
Labelsn/a
ReporterAndrey Tkachenko
AssigneeMostafizur Rahman
Created2015-10-23T11:12:32.000+0000
Updated2015-11-29T08:56:22.000+0000

Description

Can't debug commonjs module installed in to folder /modules/commonjs. As result blank page with message "Source not found" and "Edit Source Lookup Path...". I tried to choose folder but it did not help.

Comments

  1. Sharif AbuDarda 2015-10-25

    Hello, Can you provide the module that you are using?. Also please provide the CLI, Titanium SDK version, Platform, Node version, and operating system information. Thank you.
  2. Andrey Tkachenko 2015-10-25

    Ti.SDK 5.0.2, Android/Genymotion 4.2.2, node 0.12.7, appc 5.0.4-2, Alloy Host OS: Mac OS X OS Version: 10.10.5 OS Arch: x86_64 JRE Version: 1.7.0_79 JRE Vendor: Oracle Corporation JRE Home: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre Appcelerator Studio Version: 4.3.2.201510020431 Test code
       var Factory = require('com.falkolab.imagecache');
       Factory('123');
       
    Can't attach module to this issue. Please use external link https://yadi.sk/d/zm-31gvNjzEns
  3. Aminul Islam 2015-11-05

    Hi , We tested this issue. We get this behaviour only for *com.falkolab.imagecache* module , but any other common js module such as (ti.googleanalytics , ti.cloud) is working fine on debug mode. *Environment*
       Operating System
         Name                        = Mac OS X
         Version                     = 10.10.5
         Architecture                = 64bit
         # CPUs                      = 4
         Memory                      = 8589934592
       Node.js
         Node.js Version             = 0.10.37
         npm Version                 = 1.4.28
       Titanium CLI
         CLI Version                 = 5.0.5
       Titanium SDK
         SDK Version                 = 5.0.2.GA
         SDK Path                    = /Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA
         Target Platform             = android
       
    Thanks
  4. Andrey Tkachenko 2015-11-05

    And why it not working for *com.falkolab.imagecache* module?
  5. Shak Hossain 2015-11-14

    [~falko] - Good question. We will investigate this further.
  6. Mostafizur Rahman 2015-11-22

    Its module bugs. I also tested sample module its working good. It's not Titanium SDK related issues.

JSON Source