Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-6364

TI SDK 8.1.1 - sourcemap false in the config.json is causing an error during the compilation

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Appcelerator Studio 4.5.0
    • Environment:

      Axway Appcelerator Studio, build: 5.1.3.201907112159
      Node version : v8.16.0
      Titanium SDK : 8.1.1.GA
      Xcode : Version 10.2
      Android Version : 9
      Appcelerator CLI : 7.1.1
      Alloy Version : 1.14.0

      Description

      Hello. Good afternoon.

      I have a project where in the file of config.json file has the property of sourcemap with the value of false, and it is causing the following error message on the console, but if you modify the value to true it will work.

      [ERROR] Error: Error: /Users/tony/code/build/map/Resources/iphone/app.js.map: ENOENT: no such file or directory, open '/Users/tony/code/build/map/Resources/iphone/app.js.map'
          at /Users/tony/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA/node_modules/appc-tasks/dist/task/IncrementalFileTask.js:118:11
          at <anonymous>
          at process._tickCallback (internal/process/next_tick.js:189:7)
      
      

      config.json

      Not working

      {
      	"global": {},
      	"env:development": {},
      	"env:test": {},
      	"env:production": {},
      	"os:android": {},
      	"os:ios": {},
      	"os:windows": {},
      	"dependencies": {},
      	"sourcemap": false
      }
      

      Working

      {
      	"global": {},
      	"env:development": {},
      	"env:test": {},
      	"env:production": {},
      	"os:android": {},
      	"os:ios": {},
      	"os:windows": {},
      	"dependencies": {},
      	"sourcemap": true
      }
      

      Note: This is working fine with 8.0.2.GA, also please remove the build folder, and Resources folder before do any test.

      Please let me know whether you have any doubt or question.

      Thanks, and best,
      Francisco Antonio Duran Ramirez.

        Attachments

          Activity

            People

            • Assignee:
              aislam Aminul Islam (Inactive)
              Reporter:
              antonioduran Francisco Antonio Duran Ramirez
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration